(id: number)
| 102 | : Effect.void).pipe(Effect.forkScoped) |
| 103 | |
| 104 | const request = (id: number) => ({ |
| 105 | _tag: "Request" as const, |
| 106 | id, |
| 107 | tag: "Test", |
| 108 | payload: null, |
| 109 | headers: [] |
| 110 | }) |
| 111 | const first = yield* protocol.send(0, request(1)).pipe(Effect.forkChild) |
| 112 | yield* Deferred.await(firstRequestSent) |
| 113 | yield* Deferred.fail( |