Skip to content

Documentation / @agentick/gateway / StreamingMethodHandler

Type Alias: StreamingMethodHandler()<TParams, TYield> ​

StreamingMethodHandler<TParams, TYield> = (params, ctx?) => AsyncGenerator<TYield>

Defined in: gateway/src/types.ts:331

Streaming method handler - yields values to client

Type Parameters ​

TParams ​

TParams = Record<string, unknown>

TYield ​

TYield = unknown

Parameters ​

params ​

TParams

ctx? ​

KernelContext

Returns ​

AsyncGenerator<TYield>

Released under the ISC License.