MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / emit

Method emit

src/back/ManagedChildProcess.ts:21–21  ·  view source on GitHub ↗
(event: 'output', output: ILogPreEntry)

Source from the content-addressed store, hash-verified

19 */
20 on(event: 'output', handler: (output: ILogPreEntry) => void): this;
21 emit(event: 'output', output: ILogPreEntry): boolean;
22 /** Fires whenever the status of a process changes. */
23 on(event: 'change', listener: (newState: ProcessState) => void): this;
24 emit(event: 'change', newState: ProcessState): boolean;

Callers 3

spawnMethod · 0.95
setStateMethod · 0.95
logContentMethod · 0.95

Implementers 1

WrappedEventEmittersrc/back/util/WrappedEventEmitter.ts

Calls

no outgoing calls

Tested by

no test coverage detected