Skip to content

PURISTA API


PURISTA API / @purista/core / SubscriptionFunctionContext

Type Alias: SubscriptionFunctionContext<Resources, Invokes, EmitList>

SubscriptionFunctionContext<Resources, Invokes, EmitList> = Prettify<ContextBase & SubscriptionFunctionContextEnhancements<Resources, Invokes, EmitList>>

Defined in: packages/core/src/core/types/subscription/SubscriptionFunctionContext.ts:54

The subscription function context which will be passed into subscription function.

Type Parameters

Resources

Resources extends Record<string, any> = EmptyObject

Invokes

Invokes extends InvokeList = EmptyObject

EmitList

EmitList extends Record<string, Schema> = EmptyObject