Files
simplex-chat/packages/simplex-chat-nodejs/docs/core.Function.loadLibrary.md

508 B

simplex-chat


simplex-chat / core / loadLibrary

Function: loadLibrary()

loadLibrary(backend): Promise<void>

Defined in: src/core.ts:13

Resolve (downloading on first use) and load libsimplex for the backend. One libsimplex per process: the Haskell runtime is initialized once, and another backend is rejected.

Parameters

backend

Backend

Returns

Promise<void>