Actions
Bug #18484
closedFiber should return it self when blocked by IO
Description
Here's an example:
f = Fiber.new do
sleep(1)
Fiber.yield 123
end
p f.resume
Output:
nil
Expected output:
#<Fiber:0x000000010e825b18@(irb):59 (paused)>
========================
In JavaScipt, an example like:
async function testAsync() {
return "hello async";
}
const result = testAsync();
console.log(result);
Output:
Promise { 'hello async' }
Actions
Like0
Like0Like0Like0