mirror of https://github.com/deavmi/eventy.git
Compare commits
2 Commits
1d475d4c5f
...
8bd2cb1f9b
Author | SHA1 | Date |
---|---|---|
Tristan B. Velloza Kildaire | 8bd2cb1f9b | |
Tristan B. Velloza Kildaire | 33f22afd49 |
|
@ -3,7 +3,7 @@
|
|||
### The _engine_
|
||||
|
||||
The first thing every Eventy-based application will need is an instance of the `Engine`.
|
||||
This provides the user with a single object instance of the [`Engine` class](https://eventy.dpldocs.info/v0.4.1/eventy.engine.Engine.html) by which
|
||||
This provides the user with a single object instance of the [`Engine` class](https://eventy.dpldocs.info/v0.4.3/eventy.engine.Engine.html) by which
|
||||
the user can register _event types_, _signal handlers_ for said events and the ability
|
||||
to trigger or _push_ events into the engine.
|
||||
|
||||
|
@ -36,7 +36,7 @@ This will tell the engine to create two new event types with tags `1` and `2` re
|
|||
We're almost done. So far we have created a new _engine_ for handling our event tyoes and
|
||||
the triggering of events. What is missing is something to _handle those event types_ when
|
||||
an event of one of those types is pushed into the engine. Such handlers are referred to as
|
||||
_signal handlers_ and in Eventy these are instances of the [`Signal` class](https://eventy.dpldocs.info/v0.4.1/eventy.signal.Signal.html).
|
||||
_signal handlers_ and in Eventy these are instances of the [`Signal` class](https://eventy.dpldocs.info/v0.4.3/eventy.signal.Signal.html).
|
||||
|
||||
We're going to create a signal that can handle both of the event types `1` and `2` that we
|
||||
registered earlier on. We can do this by creating a class that inherits from the `Signal`
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
Release v0.4.3
|
||||
==============
|
||||
|
||||
Completely overhauled Eventy system for the v0.4.0 release
|
||||
|
||||
Removed the event-loop for a better system (for now) whereby we just dispatch signal handlers on the call to `push(Event)`.
|
||||
|
||||
In a future release I hope to bring the event loop back but in a signal-based manner, such that we can support deferred events and priorities and such
|
|
@ -4,6 +4,8 @@ theme: alabaster
|
|||
nav:
|
||||
- Home: index.md
|
||||
- Quick Start: quick_start.md
|
||||
- Release notes:
|
||||
- 0.4.3: releases/v0.4.3.md
|
||||
|
||||
extra:
|
||||
logo: logo.png
|
||||
|
|
Loading…
Reference in New Issue