mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 15:20:23 +00:00
feat(builtin): add resolve_alias_opt [NET-528] (#50)
This commit is contained in:
parent
67edcbb584
commit
c47dd03e8c
@ -243,6 +243,11 @@ service Srv("srv"):
|
||||
-- Returns: service id associated with the given alias
|
||||
resolve_alias(alias: string) -> string
|
||||
|
||||
-- Resolves given alias to a service id
|
||||
-- If there's no such alias, returns nil
|
||||
-- Returns: service id associated with the given alias or nil
|
||||
resolve_alias_opt(alias: string) -> ?string
|
||||
|
||||
-- Retrieves the functional interface of a service running
|
||||
-- on the node specified in the service call
|
||||
-- Argument: service_id – ID of the service whose interface you want to retrieve.
|
||||
|
Loading…
Reference in New Issue
Block a user