AssemblySystem
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
dispose() |
|
public |
getAssembly(id: *): * |
|
public |
getAssemblyExport(id: *, name: *): * |
|
public |
getImports(id: *): * |
|
public |
|
|
public |
registerAssembly(id: *, wasmModule: *, imports: *): * |
|
public |
registerImports(id: *, imports: *) |
|
public |
|
|
public |
|
|
public |
unregisterAssembly(id: *): * |
|
public |
unregisterImports(id: *): * |
Inherited Summary
From class System | ||
public static get |
|
|
public static get |
systems: * |
|
public static |
dispose() Dispose and remove all registered systems. |
|
public static |
Returns system instance of given type name. |
|
public static |
Register new system instance under given name. |
|
public static |
unregister(typename: string): System Unregister given system. |
|
public |
dispose() Destructor (disposes all internal resources). |
|
public |
Event called after system gets registered. |
|
public |
Event called before system gets unregistered. |
Public Constructors
public constructor() source
Public Methods
public getAssemblyExport(id: *, name: *): * source
Params:
Name | Type | Attribute | Description |
id | * | ||
name | * |
Return:
* |
public onUnregister() source
Event called before system gets unregistered.
Override:
System#onUnregisterpublic registerAssembly(id: *, wasmModule: *, imports: *): * source
Params:
Name | Type | Attribute | Description |
id | * | ||
wasmModule | * | ||
imports | * |
Return:
* |
public registerImports(id: *, imports: *) source
Params:
Name | Type | Attribute | Description |
id | * | ||
imports | * |