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

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
arm64 43.5 kB111 kB [文件列表]