convai-web-sdk
Version:
Integrate lifelike digital beings into your web applications with real-time conversations, actions, and facial expressions. Supports a variety of voices, languages, and emotions.
13 lines (12 loc) • 334 B
TypeScript
declare class AsyncBlockingQueue<T> {
private resolvers;
private promises;
private _add;
enqueue(value: T): void;
dequeue(): Promise<T>;
isEmpty(): boolean;
isBlocked(): boolean;
get length(): number;
[Symbol.asyncIterator](): AsyncIterableIterator<T>;
}
export { AsyncBlockingQueue };