BSD Ports

devel/p5-Future-AsyncAwait 0.71 FreeBSD

Deferred subroutine syntax for futures

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
52.2 KiB, 125.0 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

SystemPortVersion
FreeBSDdevel/p5-Future-AsyncAwait0.71
DragonFlydevel/p5-Future-AsyncAwait0.70
HardenedBSDdevel/p5-Future-AsyncAwait0.71
GhostBSDdevel/p5-Future-AsyncAwait0.71

Install

Binary package:

pkg install p5-Future-AsyncAwait

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Future-AsyncAwait>0:devel/p5-Future-AsyncAwait

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.710.71-0.700.71
FreeBSD:14:quarterly0.710.71n/a0.700.71
FreeBSD:15:latest0.710.71n/a0.700.70
FreeBSD:15:quarterly0.710.71n/an/an/a
FreeBSD:16:latest0.710.71n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 7
Run dependencies 6

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 10
  • %%SITE_ARCH%%/Future/AsyncAwait.pm
  • %%SITE_ARCH%%/Future/AsyncAwait/Awaitable.pm
  • %%SITE_ARCH%%/Future/AsyncAwait/ExtensionBuilder.pm
  • %%SITE_ARCH%%/Test/Future/AsyncAwait/Awaitable.pm
  • %%SITE_ARCH%%/auto/Future/AsyncAwait/AsyncAwait.so
  • %%SITE_ARCH%%/auto/share/module/Future-AsyncAwait/include/AsyncAwait.h
  • %%PERL5_MAN3%%/Future::AsyncAwait.3.gz
  • %%PERL5_MAN3%%/Future::AsyncAwait::Awaitable.3.gz
  • %%PERL5_MAN3%%/Future::AsyncAwait::ExtensionBuilder.3.gz
  • %%PERL5_MAN3%%/Test::Future::AsyncAwait::Awaitable.3.gz
distinfo 1
FileSizeSHA256
Future-AsyncAwait-0.71.tar.gz9231116caa557a3e7a95e0e6ff5fe39672aa8580047c75fa7748eb8b1cb183a7beb70
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.