Skip to content

emitEvaluation

function emitEvaluation(
listener,
event,
onError?
): void;

Defined in: evaluation-sink.ts:59

Invoke listener safely off the evaluation return path: synchronous throws are caught and a returned Promise’s rejection is handled, so a broken sink can never fail (or slow, since it is not awaited) an evaluation.

Parameter Type
listener EvaluationListener
event EvaluationEvent
onError? EvaluationErrorReporter

void