- Declaration
public awaitAnySpaceBeginLoading(): Promise<string>
- Description
Returns a promise of the space ID when you begin attempting to join a space.
- Sample
Code Block | ||
---|---|---|
| ||
import { CavrnusSpatialConnector } from "../services/csc"; function async awaitSpaceLoad() { const csc = new CavrnusSpatialConnector(); try { const spaceId = await csc.awaitAnySpaceBeginLoading(); } catch (err) { throw err; } } |