Squatch.js can't start safely making operations until it's "ready". This function detects that state.
A callback once Squatch.js is ready.
squatch.ready(function() { console.log("ready!"); squatch.api().upsertUser({ ... });}); Copy
squatch.ready(function() { console.log("ready!"); squatch.api().upsertUser({ ... });});
Generated using TypeDoc
Squatch.js can't start safely making operations until it's "ready". This function detects that state.