Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95076879
MultiplexHandler.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Dec 12, 16:39
Size
984 B
Mime Type
text/x-java
Expires
Sat, Dec 14, 16:39 (2 d)
Engine
blob
Format
Raw Data
Handle
22925578
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
MultiplexHandler.d.ts
View Options
import type { Parser, Handler } from "./Parser";
/**
* Calls a specific handler function for all events that are encountered.
*/
export default class MultiplexHandler implements Handler {
private readonly func;
/**
* @param func The function to multiplex all events to.
*/
constructor(func: (event: keyof Handler, ...args: unknown[]) => void);
onattribute(name: string, value: string, quote: string | null | undefined): void;
oncdatastart(): void;
oncdataend(): void;
ontext(text: string): void;
onprocessinginstruction(name: string, value: string): void;
oncomment(comment: string): void;
oncommentend(): void;
onclosetag(name: string): void;
onopentag(name: string, attribs: {
[key: string]: string;
}): void;
onopentagname(name: string): void;
onerror(error: Error): void;
onend(): void;
onparserinit(parser: Parser): void;
onreset(): void;
}
//# sourceMappingURL=MultiplexHandler.d.ts.map
Event Timeline
Log In to Comment