UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

229 lines (100 loc) 2.92 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [IEmscriptenWrapper](./rc-js-util.iemscriptenwrapper.md) ## IEmscriptenWrapper interface **Signature:** ```typescript export interface IEmscriptenWrapper<TModule extends object, TLifeStrategy extends ILifecycleStrategy = ILifecycleStrategy> ``` ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [binder](./rc-js-util.iemscriptenwrapper.binder.md) </td><td> `readonly` </td><td> [IEmscriptenBinder](./rc-js-util.iemscriptenbinder.md) </td><td> </td></tr> <tr><td> [debugUtils](./rc-js-util.iemscriptenwrapper.debugutils.md) </td><td> `readonly` </td><td> [IEmscriptenDebugUtils](./rc-js-util.iemscriptendebugutils.md) </td><td> </td></tr> <tr><td> [instance](./rc-js-util.iemscriptenwrapper.instance.md) </td><td> `readonly` </td><td> TModule &amp; [Emscripten.EmscriptenModule](./rc-js-util.emscripten.emscriptenmodule.md) </td><td> </td></tr> <tr><td> [interopIds](./rc-js-util.iemscriptenwrapper.interopids.md) </td><td> `readonly` </td><td> [IStableStore](./rc-js-util.istablestore.md) </td><td> </td></tr> <tr><td> [lifecycleStrategy](./rc-js-util.iemscriptenwrapper.lifecyclestrategy.md) </td><td> `readonly` </td><td> TLifeStrategy </td><td> </td></tr> <tr><td> [memory](./rc-js-util.iemscriptenwrapper.memory.md) </td><td> `readonly` </td><td> [IWebAssemblyMemoryMemory](./rc-js-util.iwebassemblymemorymemory.md) </td><td> </td></tr> <tr><td> [memoryResize](./rc-js-util.iemscriptenwrapper.memoryresize.md) </td><td> `readonly` </td><td> [IBroadcastChannel](./rc-js-util.ibroadcastchannel.md)<!-- -->&lt;"onMemoryResize", [TWebAssemblyMemoryListenerArgs](./rc-js-util.twebassemblymemorylistenerargs.md)<!-- -->&gt; </td><td> </td></tr> <tr><td> [rootNode](./rc-js-util.iemscriptenwrapper.rootnode.md) </td><td> `readonly` </td><td> [IManagedResourceNode](./rc-js-util.imanagedresourcenode.md) </td><td> This Emscripten instance's root node for memory management of shared objects. </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td> [destroyLinked()](./rc-js-util.iemscriptenwrapper.destroylinked.md) </td><td> Unlink all managed handles from the root node. Convenience method. </td></tr> <tr><td> [getDataView()](./rc-js-util.iemscriptenwrapper.getdataview.md) </td><td> Replaced after each memory resize, don't hold onto it. </td></tr> </tbody></table>