vickumar1981 / pyeffects

Handle side-effects in Python like a boss. Implements functional types for Either, Option, Try, and Future.
Other
30 stars 6 forks source link

Add .on_success to Future object #1

Closed vickumar1981 closed 1 year ago

vickumar1981 commented 4 years ago

Add an on_success subscriber method. Should work like on_complete but only trigger the callback if the resulting Future is successful.