(
capacity: number | {
readonly capacity: number
readonly replay?: number | undefined
}
)
| 379 | * @since 2.0.0 |
| 380 | */ |
| 381 | export const dropping = <A>( |
| 382 | capacity: number | { |
| 383 | readonly capacity: number |
| 384 | readonly replay?: number | undefined |
| 385 | } |
| 386 | ): Effect.Effect<PubSub<A>> => |
| 387 | make({ |
| 388 | atomicPubSub: () => makeAtomicBounded(capacity), |
| 389 | strategy: () => new DroppingStrategy() |
| 390 | }) |
| 391 | |
| 392 | /** |
| 393 | * Creates a bounded `PubSub` with the sliding strategy. The `PubSub` will add new |
nothing calls this directly
no test coverage detected