You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
write('file.txt', 'text');
EventLoop::run(); // it never ends
Writing the file works as expected, the script hangs on the EventLoop::run() call. I have a Windows operating system. I didn't install any additional extensions for event loop.
I only see this problem when using the write function. I don't see this problem when I use Amp\Http, including when I run asynchronous operations using the async function. The problem also disappears if I replace write with file_put_contents.
The text was updated successfully, but these errors were encountered:
I'm running the following code:
Writing the file works as expected, the script hangs on the
EventLoop::run()
call. I have a Windows operating system. I didn't install any additional extensions for event loop.I only see this problem when using the
write
function. I don't see this problem when I use Amp\Http, including when I run asynchronous operations using theasync
function. The problem also disappears if I replacewrite
withfile_put_contents
.The text was updated successfully, but these errors were encountered: