=encoding utf8

=for comment POD_DERIVED_INDEX_GENERATED

The following documentation is automatically generated.  Please do not edit
this file, but rather the original, inline with Myriad::Service::Remote
at lib/Myriad/Service/Remote.pm
(on the system that originally ran this).
If you do edit this file, and don't want your changes to be removed, make
sure you change the first line.

=cut

=head1 NAME

Myriad::Service::Remote - abstraction to access other services over the network.

=head1 SYNOPSIS

 my $remote_service = $api->service_by_name('service');
 await $remote_service->call_api('some_method', %args);

=head1 DESCRIPTION

=head2 storage

Returns a L<Myriad::Service::Storage::Remote> instance to access
the remote service public storage.

=head2 call_rpc

Call a method on the remote service.

it takes

=over 4

=item * C<rpc> - The remote method names.

=item * C<args> - A hash of the method arguments.

=back

=head2 subscribe

Please use the C<Receiver> attribute in Myriad.

This method is implemented for the sake of compatibility with
the framework specs.

it subscribes to a channel in the remote service.

=head1 INHERITED METHODS

=over 4

=item L<Object::Pad::UNIVERSAL>

L<BUILDARGS|Object::Pad::UNIVERSAL/BUILDARGS>

=back

