p5 Promise ES6:CPAN的Promise :: ES6 源码
姓名 Promise :: ES6-Perl中的ES6风格承诺 概要 use Promise::ES6; # OPTIONAL. And see below for other options. Promise::ES6::use_event('IO::Async', $loop); my $promise = Promise::ES6->new( sub { my ($resolve_cr, $reject_cr) = @_; # .. } ); my $promise2 = $promise->then( sub { .. }, sub { .. } ); my $prom
文件列表
p5-Promise-ES6-master.zip
(预估有个59文件)
p5-Promise-ES6-master
.github
workflows
linux.yml
1KB
macos.yml
1KB
windows.yml
1022B
t
then_catch.t
545B
finally.t
2KB
then_success_with_no_handler.t
841B
暂无评论