Type alias HandlerImplementation<I, O>

HandlerImplementation<I, O>: ((input, cancel, meta, ctx) => O)

Type Parameters

  • I

  • O

Type declaration

    • (input, cancel, meta, ctx): O
    • Parameters

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

            • Optional reason: any

            Returns void

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

      Returns O

Generated using TypeDoc