Deno.DynamicLibrary - Deno documentation
interface Deno.DynamicLibrary
Unstable

UNSTABLE: New API, yet to be vetted.

A dynamic library resource. Use Deno.dlopen to load a dynamic library and return this interface.

Type Parameters

Properties

All of the registered library along with functions for calling them.

Methods

close(): void

Removes the pointers associated with the library symbols.

Continuing to use symbols that are part of the library will lead to errors and crashes.

Calling this method will also immediately set any references to zero and will no longer keep Deno's process from exiting.