Interface for actors registries.
Methods
-
lookupActor(handle [, creds])
-
Parameters:
Name Type Argument Description handle
string Actor handle from the authenticator. creds
string <optional>
Registry-specific actor credentials, if any. Returns:
Actor record or a promise of it. Returningnull
or a promise that resolves to anull
means the actor does not exist for the handle. Ifcreds
is provided, may also mean that the credentials are invalid. If a promise is returned and the promise is rejected, it indicates an unexpected internal error.- Type
- module:x2node-common.Actor | Promise.<module:x2node-common.Actor>