( tag: R["_tag"] )
| 37 | |
| 38 | /** @internal */ |
| 39 | export const tagged = <R extends Request.Request<any, any> & { _tag: string }>( |
| 40 | tag: R["_tag"] |
| 41 | ): Request.Request.Constructor<R, "_tag"> => |
| 42 | (args) => { |
| 43 | const request = Object.assign(Object.create(RequestPrototype), args) |
| 44 | request._tag = tag |
| 45 | return request |
| 46 | } |
| 47 | |
| 48 | /** @internal */ |
| 49 | export const Class: new<Success, Error, A extends Record<string, any>>( |
no test coverage detected
searching dependent graphs…