@simplito/privmx-webendpoint
Version:
PrivMX Web Endpoint library
23 lines (20 loc) • 606 B
TypeScript
/*!
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.
*/
export declare class Api {
lib: any;
private promises;
private taskIdGenerator;
constructor(lib: any);
runAsync<T>(func: (taskId: number) => void): Promise<T>;
private resolveResult;
private generateId;
private setResultsCallback;
private toNativeError;
private isRawCppError;
}