(data: Uint8Array | string)
| 429 | const set = yield* FiberSet.make<any, E>() |
| 430 | const run = yield* FiberSet.runtime(set)<R>() |
| 431 | function runRaw(data: Uint8Array | string) { |
| 432 | const result = handler(data) |
| 433 | if (Effect.isEffect(result)) { |
| 434 | run(result) |
| 435 | } |
| 436 | } |
| 437 | ws.data.run = runRaw |
| 438 | ws.data.buffer.forEach(runRaw) |
| 439 | ws.data.buffer.length = 0 |
no test coverage detected