KiokuDB::Role::API - Role for KiokuDB api (used to setup delegations).
has directory => ( isa => "KiokuDB", handles => "KiokuDB::Role::API", );
This role provides
requires declarations for the runtime methods of KiokuDB. This is useful for setting up delegations.
This is used in e.g. KiokuX::User.
directory method should be used to fetch the actual KiokuDB delegate. This will work no matter how deeply it is nested.