Download the PHP package hhvm/asio-utilities without Composer

On this page you can find all versions of the php package hhvm/asio-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package asio-utilities

ASIO Utilities

Obsolete In HHVM 3.11+

These functions have been merged into HHVM, and we expected them to be included from 3.11.0 onwards.

Installation

ResultOrExceptionWrapper

When awaiting multiple handles, it can be useful to isolate exceptions from each; ResultOrExceptionWrapper provides this:

Mapping and Filtering Functions

HHVM 3.6 and above include HH\Asio\v() and HH\Asio\m() to make it easy to wait on multiple wait handles; it's fairly common to want to combine this with another option, such as mapping or filtering with an async function.

These functions are named according to their attributes:

First, how they take and return arguments according to types:

Then, either one or two letters to indicate the operation:

Finally, there is optionally a trailing 'w' to indicate that you want a result or exception wrapper. For 'fw' functions, the behavior is that:

This is also available without a filter or mapping operation - vw() and mw().

Function List

All functions are in the HH\Asio namespace; v() and m() are built in to HHVM 3.6 and newer.

Name Returns Mapped Filtered with key Wrapped Callback
v() Vector<T> :x: :x: :x: :x:
vm() Vector<Tr> :white_check_mark: :x: :x: :x: (Tv): Awaitable<Tr>
vmk() Vector<Tr> :white_check_mark: :x: :white_check_mark: :x: (Tk, Tv): Awaitable<Tr>
vf() Vector<Tv> :x: :white_check_mark: :x: :x: (Tv): Awaitable<bool>
vfk() Vector<Tv> :x: :white_check_mark: :white_check_mark: :x: (Tk, Tv): Awaitable<bool>
vw() Vector<ResultOrExceptionWrapper<T>> :x: :x: :x: :white_check_mark:
vmw() Vector<ResultOrExceptionWrapper<Tr>> :white_check_mark: :x: :x: :white_check_mark: (Tv): Awaitable<Tr>
vmkw() Vector<ResultOrExceptionWrapper<Tr>> :white_check_mark: :x: :white_check_mark: :white_check_mark: (Tk, Tv): Awaitable<Tr>
vfw() Vector<ResultOrExceptionWrapper<Tv>> :x: :white_check_mark: :x: :white_check_mark: (Tv): Awaitable<bool>
vfkw() Vector<ResultOrExceptionWrapper<Tv>> :x: :white_check_mark: :white_check_mark: :white_check_mark: (Tk, Tv): Awaitable<bool>
m() Map<Tk, Tv> :x: :x: :x: :x:
mm() Map<Tk, Tr> :white_check_mark: :x: :x: :x: (Tv): Awaitable<Tr>
mmk() Map<Tk, Tr> :white_check_mark: :x: :white_check_mark: :x: (Tk, Tv): Awaitable<Tr>
mf() Map<Tk, Tv> :x: :white_check_mark: :x: :x: (Tv): Awaitable<bool>
mfk() Map<Tk, Tv> :x: :white_check_mark: :white_check_mark: :x: (Tk, Tv): Awaitable<bool>
mw() Map<Tk, ResultOrExceptionWrapper<T>> :x: :x: :x: :white_check_mark:
mmw() Map<Tk, ResultOrExceptionWrapper<Tr>> :white_check_mark: :x: :x: :white_check_mark: (Tv): Awaitable<Tr>
mmkw() Map<Tk, ResultOrExceptionWrapper<Tr>> :white_check_mark: :x: :white_check_mark: :white_check_mark: (Tk, Tv): Awaitable<Tr>
mfw() Map<Tk, ResultOrExceptionWrapper<Tv>> :x: :white_check_mark: :x: :white_check_mark: (Tv): Awaitable<bool>
mfkw() Map<Tk, ResultOrExceptionWrapper<Tv>> :x: :white_check_mark: :white_check_mark: :white_check_mark: (Tk, Tv): Awaitable<bool>

All versions of asio-utilities with dependencies

PHP Build Version
Package Version
Requires hhvm Version ~3.11.0 | ~3.12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hhvm/asio-utilities contains the following files

Loading the files please wait ...