(pubsub: PubSub.PubSub<object>)
| 8 | const gc: () => void = vm.runInNewContext("gc") |
| 9 | |
| 10 | const publishTracked = (pubsub: PubSub.PubSub<object>) => { |
| 11 | const value = {} |
| 12 | return Effect.as(PubSub.publish(pubsub, value), new WeakRef(value)) |
| 13 | } |
| 14 | |
| 15 | describe("PubSub", () => { |
| 16 | it.effect("publishAll - capacity 2 (BoundedPubSubPow2)", () => { |