Skip to content
#

asynchronous-programming

Here are 312 public repositories matching this topic...

zio
iravid
iravid commented Apr 30, 2020

ZTransducer is an effectful chunk processing function, and thus forms an arrow. We should add the following combinators on it:

  • zipping: (ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, (B, C)]
  • racing: (ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, Either[B, C]] looks problematic to implement currently
  • both: `(ZTransducer[A, C], ZTransducer[B, D]) => ZTr
shaladdle
shaladdle commented Oct 5, 2016

@jonhoo @tikue

  • Explain | syntax
  • Write more about services and clients and when you might return what errors. Have some examples.
  • Make it more clear that service implementations must be Clone/Send/'static
    • Add to the readme
    • Add to the macro documentation if it's not there
  • Warn of the dangers of mixing FutureService with SyncClient
    • Namely, if the client runs on
IgorStauder
IgorStauder commented Nov 21, 2019

bug in README.md when_all_ready() example:

task<> example2()
{
...
// Unpack and handle each result individually once they're all complete.
for (int i = 0; i < 1000; ++i)
{
try
{
>>> std::string& record = tasks[i].result();
should be
std::string& record = resultTasks[i].result();
...
}

shpakovski
shpakovski commented Aug 13, 2019

Hi Dan 👋 Thanks a lot for the library, I’m using it in a modern Mac app and cannot be happier.

I’m curious about callbacks when the procedure is cancelled or finished with an error. So what is the best practice to handle all events once the job is done?

I always did something like this (os_log is a placeholder, treat it as UI updates):

let job = MyAsyncProcedure()
job.addDidC

Improve this page

Add a description, image, and links to the asynchronous-programming topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the asynchronous-programming topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.