ProcedureEvents<Input>: {
    data: ((data: Input) => void);
    error: ((error: unknown) => void);
    unbind: (() => void);
}

A map of the names of events emitted by Procedures and their function signatures.

See

TypedEmitter

Type Parameters

  • Input = undefined

    The type of input parameter passed to the data event.

Type declaration

  • data: ((data: Input) => void)
      • (data: Input): void
      • Signature for the data event.

        Parameters

        • data: Input

          The input parameter which was passed to the Procedure.

        Returns void

  • error: ((error: unknown) => void)
      • (error: unknown): void
      • Signature for the error event.

        Parameters

        • error: unknown

          The error data which was thrown by the Procedure.

        Returns void

  • unbind: (() => void)
      • (): void
      • Signature for the unbind event.

        Returns void

Generated using TypeDoc