(other: Middleware<Config2>)
| 992 | layer: any |
| 993 | |
| 994 | combine< |
| 995 | Config2 extends { |
| 996 | provides: any |
| 997 | handles: any |
| 998 | error: any |
| 999 | requires: any |
| 1000 | layerError: any |
| 1001 | layerRequires: any |
| 1002 | } |
| 1003 | >(other: Middleware<Config2>): Middleware<any> { |
| 1004 | return new MiddlewareImpl( |
| 1005 | this.layerFn, |
| 1006 | this.dependencies ? Layer.provideMerge(this.dependencies, other.layer as any) : other.layer as any |
| 1007 | ) as any |
| 1008 | } |
| 1009 | } |
| 1010 | |
| 1011 | const middlewareCache = new WeakMap<Context.Context<never>, any>() |
nothing calls this directly
no outgoing calls
no test coverage detected