Type alias FetchAgent<TResponse>
FetchAgent<TResponse>: ((this: void, next: ((this: void, request?: Request) => OnEvent<TResponse>), request: Request) => EventSender<TResponse>)
Type Parameters
-
TResponse extends unknown[]
Type declaration
-
- (this: void, next: ((this: void, request?: Request) => OnEvent<TResponse>), request: Request): EventSender<TResponse>
-
Parameters
-
this: void
-
next: ((this: void, request?: Request) => OnEvent<TResponse>)
-
- (this: void, request?: Request): OnEvent<TResponse>
-
Parameters
-
this: void
-
Optional
request: Request
Returns OnEvent<TResponse>
-
request: Request
Returns EventSender<TResponse>