Search results for "module:Future::AsyncAwait"

Future::AsyncAwait - deferred subroutine syntax for futures River stage three • 52 direct dependents • 102 total dependents

This module 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" chain...

PEVANS/Future-AsyncAwait-0.66 - 08 Sep 2023 16:54:07 UTC

Promise::AsyncAwait - Async/await with promises River stage zero No dependents

Future::AsyncAwait implements JavaScript-like async <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/State ments/async_function>/await <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Opera tors/await> semantics fo...

FELIPE/Promise-AsyncAwait-0.01 - 24 Feb 2021 02:20:46 UTC

Future::AsyncAwait::Hooks - scoped hook blocks that run extra code around await expressions River stage zero No dependents

This module provides two extra syntax keywords for inserting code that can observe the suspend and resume behaviour of "await" expressions within an "async sub". These two keywords are lexically scoped. They affect "await" expressions later within th...

PEVANS/Future-AsyncAwait-Hooks-0.02 - 14 Feb 2023 16:03:56 UTC

Future::AsyncAwait::Metrics - report metrics from Future::AsyncAwait to Metrics::Any River stage zero No dependents

This module provides no functions or other import symbols. Instead, by simply loading it somewhere in the program, additional metrics are created and reported to Metrics::Any about the operation of Future::AsyncAwait....

PEVANS/Future-AsyncAwait-Metrics-0.01 - 29 Nov 2022 13:27:03 UTC

Future::AsyncAwait::Awaitable - the interface required by Future::AsyncAwait River stage three • 52 direct dependents • 102 total dependents

This module documents the method interface required by "Future::AsyncAwait" to operate on future instances returned by expressions invoked by the "await" keyword, and returned by functions declared by "async sub". This information is largely of relev...

PEVANS/Future-AsyncAwait-0.66 - 08 Sep 2023 16:54:07 UTC

Test::Future::AsyncAwait::Awaitable - conformance tests for awaitable role API River stage three • 52 direct dependents • 102 total dependents

This module provides a single test function, which runs a suite of subtests to check that a given class provides a useable implementation of the Future::AsyncAwait::Awaitable role. It runs tests that simulate various ways in which Future::AsyncAwait ...

PEVANS/Future-AsyncAwait-0.66 - 08 Sep 2023 16:54:07 UTC

Future::AsyncAwait::ExtensionBuilder - build-time support for extensions to Future::AsyncAwait River stage three • 52 direct dependents • 102 total dependents

This module provides a build-time helper to assist authors writing XS modules that provide extensions to Future::AsyncAwait. It prepares a Module::Build-using distribution to be able to make use of the "Future::AsyncAwait" extension API....

PEVANS/Future-AsyncAwait-0.66 - 08 Sep 2023 16:54:07 UTC

Future - represent an operation awaiting completion River stage three • 122 direct dependents • 298 total dependents

A "Future" object represents an operation that is currently in progress, or has recently completed. It can be used in a variety of ways to manage the flow of control, and data, through an asynchronous program. Some futures represent a single operatio...

PEVANS/Future-0.50 - 17 Mar 2023 17:09:37 UTC

Future::Queue - a FIFO queue of values that uses Futures River stage two • 1 direct dependent • 17 total dependents

Objects in this class provide a simple FIFO queue the stores arbitrary perl values. Values may be added into the queue using the "push" method, and retrieved from it using the "shift" method. Values may be stored within the queue object for "shift" t...

PEVANS/Future-Queue-0.51 - 08 Feb 2023 14:06:37 UTC

Future::Buffer - a string buffer that uses Futures River stage one • 3 direct dependents • 5 total dependents

Objects in this class provide a string buffer, on which operations return Future instances which will complete when data is available. Data can be inserted into the buffer either in a push-based manner by calling the "write" method, or in a pull-base...

PEVANS/Future-Buffer-0.05 - 10 Nov 2023 18:27:28 UTC

Future::Selector - manage a collection of pending futures River stage zero No dependents

Objects in this class maintain a collection of pending Future instances, and manage the lifecycle of waiting for their eventual completion. This provides a central structure for writing asynchronous event-driven programs using Future and Future::IO-b...

PEVANS/Future-Selector-0.02 - 31 Oct 2023 19:01:59 UTC

Test::ExpectAndCheck::Future - expect/check-style unit testing with Future-returning methods River stage two • 6 direct dependents • 43 total dependents

This package creates objects that assist in writing unit tests with mocked object instances. Each mocked instance will expect to receive a given list of method calls. Each method call is checked that it received the right arguments, and will return a...

PEVANS/Test-ExpectAndCheck-0.06 - 17 Oct 2023 14:09:28 UTC
12 results (0.058 seconds)