Global

Methods

(async) initialise(fileLocation)

Initialises the WebAssembly backend. Needs to be called and fininished before any other methodes or classes can be used. If no fileLocation is provided it assumes that the dcgp.wasm file is in the same directory as the dcgp.(umd|es).js file
Parameters:
Name Type Description
fileLocation string either the wasm
Source:

isInitialised() → {boolean}

Source:
Returns:
if the dcgp dcgpModule is initialised
Type
boolean