Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

- Declaration

public awaitAnySpaceBeginLoading(): Promise<string>

- Description

Returns a promise of the space ID when attempting to join a space.

- Sample

Code Block
languagetypescript
import { CavrnusSpatialConnector } from "../services/csc";
function async awaitSpaceLoad()
{
    const csc = new CavrnusSpatialConnector();
	try
	{
		const spaceId = await csc.awaitAnySpaceBeginLoading();
	}
	catch (err)
	{
		throw err;
	}
}