(data: Uint8Array | string)
| 442 | const set = yield* FiberSet.make<any, E>() |
| 443 | const run = yield* FiberSet.runtime(set)<R>() |
| 444 | function runRaw(data: Uint8Array | string) { |
| 445 | const result = handler(data) |
| 446 | if (Effect.isEffect(result)) { |
| 447 | run(result) |
| 448 | } |
| 449 | } |
| 450 | ws.data.run = runRaw |
| 451 | ws.data.buffer.forEach(runRaw) |
| 452 | ws.data.buffer.length = 0 |
no test coverage detected