INNER CODE UNIT · TypeScript

checkInterval

voxelize/voxelize · packages/core/src/core/network/index.ts:432

        const checkInterval = setInterval(() => {
          if (!this.waitingForInit) {
            clearInterval(checkInterval);
            resolve(this);
          }
        }, 100);
      });
    }

    if (this.joined) {
      this.leave();
    }

    this.joined = true;
    this.world = world;
    setPerfWorld(world);
    this.sendJoinRequest();

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…