BatchRequest
NAME
Cro::RPC::JSON::BatchRequest
- container for requests received as members of a batch request
DESCRIPTION
This class must not be manipulated directly under normal circumstances.
ATTRIBUTES
$.pending
- number of pending requests, i.e. those for which responses were not completed yet (see Cro::RPC::JSON::MethodResponse)Promise:D $.completed
ā this promise is kept when all responses are completedCro::RPC::JSON::BatchResponse
$.jrpc-response
ā batch response object paired to this batch request
METHODS
jrpc-requests(--
Seq:D)>
All contained requests
respond()
If this batch request is complete, i.e. all of related responses are completed, then it will be emitted.
SEE ALSO
Cro::RPC::JSON, Cro::RPC::JSON::Request, Cro::RPC::JSON::MethodResponse, Cro::RPC::JSON::BatchRequest,
AUTHOR
Vadim Belman [email protected]
LICENSE
Artistic License 2.0
See the LICENSE file in this distribution.