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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Future-AsyncAwait | 0.71 |
| DragonFly | devel/p5-Future-AsyncAwait | 0.70 |
| HardenedBSD | devel/p5-Future-AsyncAwait | 0.71 |
| GhostBSD | devel/p5-Future-AsyncAwait | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.71 | 0.71 | - | 0.70 | 0.71 |
| FreeBSD:14:quarterly | 0.71 | 0.71 | n/a | 0.70 | 0.71 |
| FreeBSD:15:latest | 0.71 | 0.71 | n/a | 0.70 | 0.70 |
| FreeBSD:15:quarterly | 0.71 | 0.71 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.71 | 0.71 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Future>=0.50: devel/p5-Futurep5-XS-Parse-Keyword>=0.13: devel/p5-XS-Parse-Keywordp5-XS-Parse-Sublike>=0.31: devel/p5-XS-Parse-Sublike
Runtime 3
p5-Future>=0.50: devel/p5-Futurep5-XS-Parse-Keyword>=0.13: devel/p5-XS-Parse-Keywordp5-XS-Parse-Sublike>=0.31: devel/p5-XS-Parse-Sublike
Test 1
p5-Test-Simple>=1.302200: devel/p5-Test-Simple
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
| File | Size | SHA256 |
|---|---|---|
| Future-AsyncAwait-0.71.tar.gz | 92311 | 16caa557a3e7a95e0e6ff5fe39672aa8580047c75fa7748eb8b1cb183a7beb70 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.