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