Skip to main content

foundation-utils.uuid.createremoteid

Home > @genesislcap/foundation-utils > UUID > createRemoteId

UUID.createRemoteId() method

Generates a new UUID for a remote object.

Signature:

createRemoteId(withLogging?: boolean): Promise<string>;

Parameters

Parameter

Type

Description

withLogging

boolean

(Optional) Optional. Whether to log the generated UUID to the console. Defaults to false.

Returns:

Promise<string>

A promise that resolves to the generated UUID.