r: Readonly<{ asyncContext: (<T>(id: string) => AsyncContextFluentBuilder<T>); error: (<TData>(id: string) => ErrorFluentBuilder<TData>); event: ((id: string) => EventFluentBuilder<void>); hook: ((id: string) => HookFluentBuilder<{}, any, ITaskMeta>); middleware: Readonly<{ resource: (<C, In, Out, D>(id: string) => ResourceMiddlewareFluentBuilder<C, In, Out, D>); task: (<C, In, Out, D>(id: string) => TaskMiddlewareFluentBuilder<C, In, Out, D>); }>; resource: (<TConfig>(id: string) => ResourceFluentBuilder<TConfig, Promise<any>, {}, any, IResourceMeta, TagType[], ResourceMiddlewareAttachmentType[]>); tag: (<TConfig, TEnforceIn, TEnforceOut>(id: string) => TagFluentBuilder<TConfig, TEnforceIn, TEnforceOut>); task: TaskBuilderWithPhantom; }> = ... Type declaration
asyncContext: (<T>(id: string) => AsyncContextFluentBuilder<T>)
- <T>(id): AsyncContextFluentBuilder<T>
Returns AsyncContextFluentBuilder<T>
error: (<TData>(id: string) => ErrorFluentBuilder<TData>)
event: ((id: string) => EventFluentBuilder<void>)
- (id): EventFluentBuilder<void>
Returns EventFluentBuilder<void>
hook: ((id: string) => HookFluentBuilder<{}, any, ITaskMeta>)
middleware: Readonly<{
resource: (<C, In, Out, D>(id: string) => ResourceMiddlewareFluentBuilder<C, In, Out, D>);
task: (<C, In, Out, D>(id: string) => TaskMiddlewareFluentBuilder<C, In, Out, D>);
}>
task: TaskBuilderWithPhantom
Creates a new resource builder with the given id. Overload allows callers to seed the config type at the entry point for convenience.