(signal: AbortSignal, evaluate: () => Promise<A>)
| 226 | } |
| 227 | |
| 228 | private native<A>(signal: AbortSignal, evaluate: () => Promise<A>): Promise<A> { |
| 229 | const result = this.nativeQueue.then(() => signal.aborted ? Promise.reject(signal.reason) : evaluate()) |
| 230 | this.nativeQueue = result.catch(() => undefined) |
| 231 | return result |
| 232 | } |
| 233 | |
| 234 | private readChunk(method: string, buffer: Uint8Array, explicit: bigint | undefined) { |
| 235 | return Effect.suspend(() => { |
no test coverage detected