isReady
isReady
Signature
isReady(): Promise<void>Parameters
Returns
Usage
const api = new VctrModelApi("vectary-embed");
await api.isReady();
// Now you can use other API methodsNotes
Last updated
Returns a Promise that resolves when the API is ready to use.
isReady(): Promise<void>None.
Promise<void> - Resolves when the API is ready.
const api = new VctrModelApi("vectary-embed");
await api.isReady();
// Now you can use other API methodsWorks similarly to init() - both wait for the API to be ready
Can be called multiple times safely
Last updated