Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> perl >> libfuture-asyncawait-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libfuture-asyncawait-perl  ]

软件包: libfuture-asyncawait-perl (0.56-1build1)

deferred subroutine syntax for futures

Future::AsyncAwait provides syntax for deferring and resuming subroutines while waiting for Futures to complete. This syntax aims to make code that performs asynchronous operations using futures look neater and more expressive than simply using then chaining and other techniques on the futures themselves. It is also a similar syntax used by a number of other languages; notably C# 5, EcmaScript 6, Python 3, and lately even Rust is considering adding it.

The new syntax takes the form of two new keywords, async and await.

This module is still under active development. While it now seems relatively stable enough for most use-cases and has received a lot of testing in a wide variety of scenarios, there may still be the occasional case of memory leak left in it, especially if still-pending futures are abandoned.

其他与 libfuture-asyncawait-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libfuture-asyncawait-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 44.2 kB119 kB [文件列表]
arm64 43.5 kB111 kB [文件列表]
armhf 41.6 kB98 kB [文件列表]
ppc64el 46.5 kB135 kB [文件列表]