PHP Amp Namespace

Nested Namespaces

Amp\Artax
Amp\ArtaxTest
Amp\Internal
Amp\Mysql
Amp\Test

Interfaces

Name Description
Observable Represents a set of asynchronous values. An observable is analogous to an asynchronous generator, yielding (emitting) values when they are available, returning a value (success value) when the observable completes or throwing an exception (failure reason).

Classes

Name Description
Coroutine Creates a promise from a generator function yielding promises.
Emitter
Failure Creates a failed observable using the given exception.
InvalidYieldError
MultiReasonException
Observer Asynchronous iterator that can be used within a coroutine to iterate over the emitted values from an Observable.
Pause Creates a promise that resolves itself with a given value after a number of milliseconds.
Success A successfully resolved promise
TimeoutException

Traits

Name Description
Struct A "safe" struct trait for public property aggregators