Skip to main content
Version: v1

AliasResult TypeAlias

Encapsulates the return codes of the aliasing API.

'Success' - the datastore has been successfully aliased. It can now be used. 'Conflict' - there is already a datastore bound to the provided alias. To acquire a handle to it, use the IContainerRuntime.getRootDataStore function. The current datastore should be discarded and will be garbage collected. The current datastore cannot be aliased to a different value. 'Aliasing' (deprecated) - this value is never returned. 'AlreadyAliased' - the datastore has already been previously bound to another alias name.

Signature

export declare type AliasResult = "Success" | "Conflict" | "Aliasing" | "AlreadyAliased";