moebius/async-file

Transparent context switching for moebius coroutines on file system access.

1.0.100 2022-06-06 20:36 UTC

This package is auto-updated.

Last update: 2024-12-09 04:28:39 UTC


README

This components provides automatic context switching between coroutines for moebius/coroutine. This means that any PHP component perform file system operations will automatically be asynchronously non-blocking when combined with moebius/coroutine.

Important

The library works by hooking into the file:// stream wrapper. It is possible that some semantics are different from what you are used to, but we have tried to avoid that.

If you observe some differences, please post an issue on https://github.com/frodeborli/moebius-asyncfile