Changelogs » Asyncframes

Asyncframes

2.2.0

------------------

- Inline frames - Quickly create frame hierarchies using Python's "with" syntax.
- Lifebound awaitables - Create awaitables that fire when they are removed by passing lifebound=True.
- Destructors - Define a destructor for any Awaitable or Primitive by overloading _ondispose().

2.1.0

------------------

- GTK support - Create GTK widgets using the GLib eventloop.

2.0.0

------------------

- Multithreading - Run frames in parallel using PFrame's.
- Delayed startup - By default creating a frame queues it's execution and returns immediately.
- Frame exception handlers - Exceptions propagate along the frame hierarchy, instead of along awaiting frames.
- Simplified events - EventSource's are now Event's. Awaited events emit only event arguments.
- Cancelable free events - Cancel free events by setting event.cancel to True.
- Frame factories - Instances of frame classes are of type [MyFrameClass].Factory.
- Threadsafe post() - Use post() to queue events on any thread, instead of separate post & invoke functions.
- "singleshot" - Event argument "autoremove" has been renamed to "singleshot"

1.1.0

------------------

- Threadsafe events - Wake up event sources across threads using invoke().
- Free event - Frames emit the self.free event just before they are removed.
- Hierarchy changes - any\_ and all\_ do not take over parenthood of their awaitables.

1.0.0

------------------

- Initial release