BSD Ports

devel/p5-Future-AsyncAwait 0.70 DragonFly

Deferred subroutine syntax for futures

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
54.7 KiB, 132.1 KiB installed

Description

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, Dart, Rust, C++20.

This module is still under active development. While it now seems relatively stable enough for most use-cases and has received a lot of "battle-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.

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

In the other systems

The newest version among them is 0.71, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Future-AsyncAwait0.70none known-[email protected]-
FreeBSDdevel/p5-Future-AsyncAwait0.71 newestnone known-[email protected]-
HardenedBSDdevel/p5-Future-AsyncAwait0.71 newestno data-[email protected]-
GhostBSDdevel/p5-Future-AsyncAwait0.71 newestno data-[email protected]-

Install

Binary package:

pkg install p5-Future-AsyncAwait

From DPorts:

cd /usr/dports/devel/p5-Future-AsyncAwait && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.