goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
265 stars 12 forks source link

Expose lifetime stack as class attr, add base test suite #326

Closed goodboy closed 2 years ago

goodboy commented 2 years ago

expose the runtime-lifetime exit stack as a Actor.lifetime_stack and add a small test suite that ensures it cleans up local filesystem files on crashes and cancels in a child actor.

Note: this is an undocumented API used in piker and is likely to be updated/change.

goodboy commented 2 years ago

Just needs a nooz file.

goodboy commented 2 years ago

Just needs a nooz file.

or i'll forget about it 😂