Re: new Perl library - Protocol::DBus
L A Walsh <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
On 10/2/2018 8:10 PM, Felipe Gasper wrote: >> On Oct 2, 2018, at 6:57 PM, Lawrence D'Oliveiro wrote: >> >> Does Perl have an equivalent to Python’s asyncio API >> <https://docs.python.org/3/library/asyncio.html>? >> > I’ve not used it, but this might suit: > > https://metacpan.org/pod/Coro > > Protocol::DBus isn’t quite I/O-agnostic (the need to do SCM_CREDENTIALS kills that), but it should work with this or pretty much any other I/O scheme. > There's also package IO::AIO. It has all of the standard perl file calls with 'aio_' in front of them, like: aio_move $srcpath, $dstpath, $callback->($status) _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus