Skip to content
#

trio

Here are 112 public repositories matching this topic...

njsmith
njsmith commented May 18, 2020

What should happen if deliver_cancel raises an exception? In the current implementation, the shielded cancel scope will prevent it from propagating until the process exits, which might take a while if the crash occurred before signaling the process in any way. Maybe on exception from a user-specified deliver_cancel we should call the default deliver_cancel to kill the process? Or just kill() since

cburgdorf
cburgdorf commented Apr 2, 2020

What was wrong?

A common BroadcastConfig to use is BroadcastConfig(require_subscriber=False). It would be nice to have a constant for that so applications that are using the event bus can import it directly from lahja.

How can it be fixed?

  1. Create a new constant FIRE_AND_FORGET_BROADCASTING in lahja/constants.py

  2. Import it in lahja/__init__.py so that it gets r

Improve this page

Add a description, image, and links to the trio topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the trio topic, visit your repo's landing page and select "manage topics."

Learn more