@lancedb/lancedb • Docs
@lancedb/lancedb / Job
Class: Job¶
A handle to an operation that may still be running.
Constructors¶
new Job()¶
Returns¶
Accessors¶
id¶
Identifies the operation on the server that is running it. Operations that run in this process have no server id. The value is opaque.
Returns¶
null | string
Methods¶
cancel()¶
Request cancellation. Cancelling a finished operation is a no-op.
Returns¶
Promise<void>
status()¶
The operation's current lifecycle state: "running", "finished", "failed", or "cancelled".
A point snapshot; unlike Job.wait it does not block or reject on a terminal failure state. States a newer server reports that this client version does not know pass through as-is.
Returns¶
Promise<string>
wait()¶
Wait until the operation reaches a terminal state.
Returns¶
Promise<void>