Deno.UnsafeFnPointer

UNSTABLE: Unsafe and new API, beware!

An unsafe pointer to a function, for calling functions that are not present as symbols.

class UnsafeFnPointer<Fn extends ForeignFunction> {
constructor(pointer: UnsafePointer, definition: Fn);
definition: Fn;
pointer: UnsafePointer;
 
call(...args: StaticForeignFunctionParameters<Fn["parameters"]>): ConditionalAsync<Fn["nonblocking"], StaticForeignFunctionResult<Fn["result"]>>;
}

§Type Parameters

§Constructors

§
new UnsafeFnPointer(pointer: UnsafePointer, definition: Fn)
[src]

§Properties

§
definition: Fn
[src]

§Methods

§
call(...args: StaticForeignFunctionParameters<Fn["parameters"]>): ConditionalAsync<Fn["nonblocking"], StaticForeignFunctionResult<Fn["result"]>>
[src]