Interface for actors registries.
Methods
-
lookupActor(handle [, creds])
-
Parameters:
Name Type Argument Description handlestring Actor handle from the authenticator. credsstring <optional>
Registry-specific actor credentials, if any. Returns:
Actor record or a promise of it. Returningnullor a promise that resolves to anullmeans the actor does not exist for the handle. Ifcredsis 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>