Skip to content
#

event-loop

Here are 110 public repositories matching this topic...

kraih
kraih commented May 20, 2020

Not a particularly hard task, but converting all tests is a lot of work. We want to go from:

# Promisify
is ref Mojo::Promise->resolve('foo'), 'Mojo::Promise', 'right class';
$promise = Mojo::Promise->reject('foo');
is ref $promise, 'Mojo::Promise', 'right class';
@errors = ();
$promise->catch(sub { push @errors, @_ })->wait;
is_deeply \@errors, ['foo'], 'promise rejected';
$promi

Improve this page

Add a description, image, and links to the event-loop topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the event-loop topic, visit your repo's landing page and select "manage topics."

Learn more