Interface ServiceMethod<I, O, X>

An invocation handler, as returned by @ucanto/server#provide | Server.provide.

Type Parameters

  • I extends Capability

    the Capability type accepted by the handler

  • O extends {}

    type returned by the handler on success

  • X extends Schema.Error

    type returned by the handler on error

Hierarchy

  • ServiceMethod

Generated using TypeDoc