chore(docs): add .awaitReady()

This commit is contained in:
khtsly 2026-04-11 18:12:23 +07:00
parent 597bfabb3d
commit 1f9ae004f4

View file

@ -40,6 +40,8 @@ local Players = game:GetService("Players")
local Warp = require(path.to.warp).Client()
local Schemas = require(path.to.schemas)
Warp.awaitReady() -- this is optional, but recommended if facing any issues with race-condition, or remotes not registered
-- Use schemas
for eventName, schema in Schemas do
Warp.useSchema(eventName, schema)