The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Myriad::API - provides an API for Myriad services

SYNOPSIS

DESCRIPTION

Used internally within Myriad services for providing access to storage, subscription and RPC behaviour.

METHODS

storage

Returns a Myriad::Role::Storage-compatible instance for interacting with storage.

service_by_name

Returns a service proxy instance for the given service name.

This can be used to call RPC methods and act on subscriptions.

config

Returns a Ryu::Observable that hold the value of the configuration.

INHERITED METHODS

Object::Pad::UNIVERSAL

BUILDARGS

AUTHOR

Deriv Group Services Ltd. DERIV@cpan.org.

See "CONTRIBUTORS" in Myriad for full details.

LICENSE

Copyright Deriv Group Services Ltd 2020-2022. Licensed under the same terms as Perl itself.