Type Alias DecisionsStreamEvents<Scopes, Origins>

DecisionsStreamEvents<Scopes, Origins>: {
    added: ((decision: Decision<Scopes, Origins>) => void);
    close: (() => void);
    deleted: ((decision: Decision<Scopes, Origins>) => void);
    error: ((error: any) => void);
    parsed: ((decisions: Record<"added" | "deleted", Decision<Scopes, Origins>[]>) => void);
    pause: (() => void);
    raw: ((decisions: APITypes.DecisionsStreamResponse) => void);
    resume: (() => void);
}

Type Parameters