crocks icon indicating copy to clipboard operation
crocks copied to clipboard

Allow fn passed to Async.fromNode to be partially applied

Open JamieDixon opened this issue 5 years ago β€’ 3 comments

Async.fromNode returns a function that eventually resolves to an Async type once it has been applied to all of its parameters.

This PR is a first-pass at allowing the function returned from Async.fromNode to be partially applied.

  • [x] ~Dependent on https://github.com/evilsoft/crocks/pull/477~

~Note: In its current form this PR will not pass CI until #477 is merged.~

JamieDixon avatar May 24 '20 16:05 JamieDixon

Coverage Status

Coverage remained the same at 100.0% when pulling 17ad78cb27ab3e4bdf54860bdb868de322cd3fcd on JamieDixon:fromNode-curry into df5558b7172577f215a7b630870496a5b8dfe31c on evilsoft:master.

coveralls avatar May 27 '20 19:05 coveralls

@evilsoft @dalefrancis88 Just letting you know that this one is now ready for review πŸ™‚

JamieDixon avatar May 27 '20 19:05 JamieDixon

Thanks mate, i'll get some πŸ‘€on this tomorrow or overmorrow

dalefrancis88 avatar May 27 '20 21:05 dalefrancis88