py-defer 1.3.0

Last updated:

0 purchases

py-defer 1.3.0 Image
py-defer 1.3.0 Images
Add to Cart

Description:

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
!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.