./devel/p5-Mojo-IOLoop-ForkCall, Execute a code block asynchronously by forking

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2019Q3, Version: 0.20nb1, Package name: p5-Mojo-IOLoop-ForkCall-0.20nb1, Maintainer: wiedi

Asynchronous programming can be benefitial for performance, however
not all functions are written for nonblocking interaction and
external processes almost never are.

By forking the blocking call into a new process, the main thread may
continue to run non-blocking, while the blocking call evaluates.
Mojo::IOLoop::ForkCall manages the forking and will emit an
event (or execute a callback) when the forked process completes.
Return values are serialized and sent from the child to the parent
via an appropriate pipe for your platform.

Deprecated! Use Mojo::IOLoop::Subprocess instead.


Master sites:

SHA1: 980e725c0b39ae1b221965dff8dbba20b1507426
RMD160: 69b3271dbe9c80e0fc36a665004caac2371e1b8e
Filesize: 10.356 KB

Version history: (Expand)