RequestResolver
Combinators
dataLoader
Added in v1.0.0
Source
Signature
declare const dataLoader: (options: { readonly maxBatchSize?: number; readonly window: DurationInput;}) => <A extends Request<any, any, never>>(self: any) => Effect<any, never, Scope> & <A extends Request<any, any, never>>(self: any, options: { readonly maxBatchSize?: number; readonly window: DurationInput;}) => Effect<any, never, Scope>Signature
declare const persisted: { <Req extends Any>(options: { readonly storeId: string; readonly timeToLive: (...args: Persistence.ResultPersistence.TimeToLiveArgs<Req>) => Duration.DurationInput; }): (self: any) => Effect<any, never, Scope | ResultPersistence>; <Req extends Any>(self: any, options: { readonly storeId: string; readonly timeToLive: (...args: Persistence.ResultPersistence.TimeToLiveArgs<Req>) => Duration.DurationInput; }): Effect<any, never, Scope | ResultPersistence>;}Model
PersistedRequest
Added in v1.0.0
Source
PersistedRequest interface
Added in v1.0.0
Source
Signature
interface PersistedRequest<R, IE, E, IA, A> extends Request<A, E>, WithResult<A, IA, E, IE, R> {}