UNPKG

@simplito/privmx-webendpoint

Version:

PrivMX Web Endpoint library

21 lines (18 loc) 639 B
/*! PrivMX Web Endpoint. Copyright © 2024 Simplito sp. z o.o. This file is part of the PrivMX Platform (https://privmx.dev). This software is Licensed under the PrivMX Free License. See the License for the specific language governing permissions and limitations under the License. */ import { BaseApi } from './BaseApi'; import { EventQueueNative } from '../api/EventQueueNative'; import { Event } from '../Types'; export declare class EventQueue extends BaseApi { private native; private isPending; constructor(native: EventQueueNative, ptr: number); waitEvent(): Promise<Event>; emitBreakEvent(): Promise<void>; }