Compare commits

...

2 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire 8bd2cb1f9b Added release notes 2022-11-28 18:58:09 +02:00
Tristan B. Velloza Kildaire 33f22afd49 Fixed links 2022-11-28 18:58:06 +02:00
3 changed files with 12 additions and 2 deletions

View File

@ -3,7 +3,7 @@
### The _engine_ ### The _engine_
The first thing every Eventy-based application will need is an instance of 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 the user can register _event types_, _signal handlers_ for said events and the ability
to trigger or _push_ events into the engine. 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 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 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 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 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` registered earlier on. We can do this by creating a class that inherits from the `Signal`

8
docs/releases/v0.4.3.md Normal file
View File

@ -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

View File

@ -4,6 +4,8 @@ theme: alabaster
nav: nav:
- Home: index.md - Home: index.md
- Quick Start: quick_start.md - Quick Start: quick_start.md
- Release notes:
- 0.4.3: releases/v0.4.3.md
extra: extra:
logo: logo.png logo: logo.png