You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above would *Dispatch* the `temperatureEvent` after 4 seconds, via the *Stack*, with the *highest Priority*
204
+
205
+
*Scheduled Event Dispatch* is a massive advantage when your use-case requires a fixed or calculated time delay between the composition of an *Event*, and its *Dispatch* for processing.
206
+
194
207
### Defining an `EventThread`
195
208
So, we have an *Event* type, and we are able to *Dispatch* it through a *Queue* or a *Stack*, with whatever *Priority* we desire. Now we need to define an `EventThread` to listen for and process our `TemperatureEvent`s.
196
209
@@ -443,13 +456,10 @@ The above example would use the `EventPoolLowestLoadBalancer` implementation, wh
443
456
## Features Coming Soon
444
457
`EventDrivenSwift` is an evolving and ever-improving Library, so here are lists of the features you can expect in future releases.
445
458
446
-
Version 4.2.0 (or 5.0.0 if interface-breaking changes are required):
459
+
Version 4.3.0 (or 5.0.0 if interface-breaking changes are required):
447
460
-**Event Pool Scalers** - Dynamic Scaling for `EventPool` instances will be fully-implemented
448
461
-**Latest-Only Events** - A Dispatch option to replace any unprocessed (older) *Events* with the newest *Event* of that specific *Eventable* type. This will be useful for things like sensor readings, where you only care about the most recent value possible (because older values are no longer relevant)
449
462
450
-
Version 5.1.0 (or 6.0.0 if interface-breaking changes are required):
451
-
-**Event Scheduling** - A Dispatch Scheduler to ensure that *Events* aren't Dispatched until a specific time (or after a specific interval)
452
-
453
463
## License
454
464
455
465
`EventDrivenSwift` is available under the MIT license. See the [LICENSE file](./LICENSE) for more info.
0 commit comments