Class UnaryHandler<Container, Input, Output>Abstract

Type Parameters

Hierarchy

  • Handler<Container, Input, Output>
    • UnaryHandler

Constructors

Properties

Methods

Constructors

Properties

_inputType: Input
_outputType: Output
container: Container
timeout?: number

This is the timeout used for the handler. If it is not set then the default timeout time for the RPCServer is used.

Methods

  • Parameters

    • input: Input
    • cancel: ((reason?) => void)
        • (reason?): void
        • Parameters

          • Optional reason: any

          Returns void

    • meta: undefined | Record<string, JSONValue>
    • ctx: ContextTimed

    Returns Promise<Output>

Generated using TypeDoc