Home > rainway-sdk-native > Runtime > initialize
Runtime.initialize() method
Initializes rainway with the config and waits for it to connect to instant relay.
Signature:
static initialize(cfg: Readonly<RuntimeConfig>): Promise<Runtime>;
Parameters
Parameter | Type | Description |
---|---|---|
cfg | Readonly<RuntimeConfig> |
Returns:
Promise<Runtime>