Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / Handler

Type Alias: Handler()<TParams, TReturn>

Handler<TParams, TReturn>: (context, params, subscriptionManager) => Promise<TReturn>

Type Parameters

TParams = any

TReturn = any

Parameters

context: Context

params: TParams

subscriptionManager: SubscriptionManager

Returns

Promise<TReturn>

Defined in

packages/core/src/rpc/shared.ts:41