manifold icon indicating copy to clipboard operation
manifold copied to clipboard

Add ability to specify a function doesn't need args fully resolved when used inside `let-flow`

Open tanzoniteblack opened this issue 3 years ago • 1 comments

Some functions, like d/alt are designed to handle deferrables as arguments. let-flow shouldn't wait on args to functions like these to have been resolved before invoking the function.

With this change set, all the functions inside manifold.deferred that are designed to work with deferrables will now behave as "expected" inside a let-flow block. Users can mark their own functions with the metadata manifold.deferred/deferred-args to have let-flow treat those the same way.

Addresses https://github.com/clj-commons/manifold/issues/183

N.B. This includes the changes from https://github.com/clj-commons/manifold/pull/202 , which I've done to not cause merge conflicts between the two change sets.

tanzoniteblack avatar Jul 19 '21 19:07 tanzoniteblack

Also related to #141

KingMob avatar Mar 09 '23 06:03 KingMob