interface Deno.ForeignFunction
The interface for a foreign function as defined by its parameter and result types.
Type Parameters #
#Parameters extends readonly NativeType[] = readonly NativeType[] #Result extends NativeResultType = NativeResultType #NonBlocking extends boolean = boolean Properties #
The parameters of the foreign function.
#nonblocking: NonBlocking optional
When true, function calls will run on a dedicated blocking thread and
will return a Promise resolving to the result.