Class: Qin

Qin

a class for creating Qin instance

new Qin (props)

create Qin instance
Name Type Description
props Object QinPropsType
Name Type Description
debugging boolean turn on debugging

Methods

createSandbox (sandboxInfo)Promise.<void> async

create/load sandbox from local or browser's indexDB
Name Type Description
sandboxInfo Object SandboxInfoType
Name Type Description
name string name of sandbox you want to create
Returns:
Type Description
Promise.<void>

start ()Promise.<void> async

start sandbox engine, remember to call function createSandbox first
Returns:
Type Description
Promise.<void>

stop ()

stop sandbox engine