tuplestream / swift-disruptor

Disruptor implementation for Swift
Apache License 2.0
7 stars 2 forks source link

Support batching #4

Open m0wfo opened 4 years ago

m0wfo commented 4 years ago

Is your feature request related to a problem? Please describe. LMAX's reference implementation allows publication of multiple events through the EventSink type. We should support this too.

Describe the solution you'd like The LMAX implementation exposes lots of overloaded methods with are semantically the same barring the number of translator objects passed in (and lots of boilerplate unit tests for each variation). It would be nice to have a smaller and more Swift-y API than this.

m0wfo commented 4 years ago

EventSink Javadoc here