(data: Uint8Array | string)
| 583 | const set = yield* FiberSet.make<any, E>() |
| 584 | const run = yield* FiberSet.runtime(set)<R>() |
| 585 | function runRaw(data: Uint8Array | string) { |
| 586 | const result = handler(data) |
| 587 | if (Effect.isEffect(result)) { |
| 588 | run(result) |
| 589 | } |
| 590 | } |
| 591 | ws.data.run = runRaw |
| 592 | ws.data.buffer.forEach(runRaw) |
| 593 | ws.data.buffer.length = 0 |
no test coverage detected