question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for asynchronous operations

See original GitHub issue

Hey there, loving the library thus far.

I was wondering if pipe and flow support async functions without needing to wrap them in an IIFE. Purify supports this via their MaybeAsync and EitherAsync wrappers, and I believe Ramda also supports this via the composeWith and pipeWith functions.

I’m currently evaluating replacing Ramda with either this library or Purify, but to reduce the amount of churn, being able to support async ops in a composition is ideal.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:6
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
mobilycommented, Aug 26, 2022

@jsec @WidgetKing @alexn-s hey there! 👋 this is definitely on my roadmap, sneak peek: I’m currently working on three following modules:

  • Async (equivalent to fp-ts Task)
  • AsyncResult (TaskEither)
  • AsyncData

all of them will be published in one of the subsequent releases (it takes a vast amount of time to adjust ReScript to TS in this particular case tho)

3reactions
WidgetKingcommented, Oct 22, 2022

Thanks for the update @mobily! And thank you for all the time and effort you put into this library. Take your time. We know good things come to those who wait.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Asynchronous programming in C# | Microsoft Learn
An overview of the C# language support for asynchronous programming using async, await, Task, and Task.
Read more >
When to Use (and Not to Use) Asynchronous Programming
Asynchronous programming is a form of parallel programming that allows a unit of work to run separately from the primary application thread.
Read more >
Introducing asynchronous JavaScript - Learn web development
Asynchronous programming is a technique that enables your program to start a potentially long-running task and still be able to be responsive ...
Read more >
Asynchronous Programming: A Beginner's Guide
Asynchronous programming helps a user flow smoothly through an application. Let's take a look at this programming practice with:.
Read more >
Getting Started With Async Features in Python
Understanding Asynchronous Programming · Batch processing programs are often created as synchronous programs. You get some input, process it, and create some ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found