AsyncDynamicLibrary extension

Extension on DynamicLibrary with asynchronous methods.

on

Methods

openAsync(String path) Future<DynamicLibrary>

Available on DynamicLibrary, provided by the AsyncDynamicLibrary extension

Asynchronously opens a dynamic library from the specified path. The ffi:DynamicLibrary.open is synchronous, but wasm_ffi:DynamicLibrary.open is asynchronous. This helper method uses both asynchronously.