Last updated:
0 purchases
pydefer 1.3.0
Defer
Add a simple golang-esque deferral system for python.
TODO
Add deferrals for a function
Tests
95% testing coverage
Add deferrals for a class
Add deferrals for a module
Example
In [1]: import defer
In [2]: @defer.with_defer
...: def example_function():
...: print("Hello")
...: defer.defer(print, "!")
...: print("World")
...:
In [3]: example_function()
Hello
World
!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.