The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with Myriad::Registry at lib/Myriad/Registry.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.

NAME

Myriad::Registry - track available methods and subscriptions

SYNOPSIS

DESCRIPTION

Used internally within Myriad for keeping track of what services are available, and what they can do.

add_service

Instantiates and adds a new service to the "loop".

Returns the service instance.

service_by_name

Looks up the given service, returning the instance if it exists.

Will throw an exception if the service cannot be found.

add_rpc

Registers a new RPC method for the given class.

rpc_for

Returns a hashref of RPC definitions for the given class.

add_batch

Registers a new batch method for the given class.

batches_for

Returns a hashref of batch methods for the given class.

add_emitter

Registers a new emitter method for the given class.

emitters_for

Returns a hashref of emitter methods for the given class.

add_receiver

Registers a new receiver method for the given class.

receivers_for

Returns a hashref of receiver methods for the given class.

make_service_name

Reformat a given string to make it combatible with our services naming strategy

INHERITED METHODS

IO::Async::Notifier

add_child, adopt_future, adopted_futures, can_event, children, configure, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, notifier_name, parent, remove_child, remove_from_parent

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-2021. Licensed under the same terms as Perl itself.