CustomFunctionTrait
trait CustomFunctionTrait
Trait CustomFunctionTrait
Methods
wasm(string $source)
Specifies the wasm file to use for the custom function.
remote(string $source)
Specifies the URL of the remote custom function.
fromParams(array $qualifiers, bool $isPre = false)
Creates a new instance from an array of qualifiers.
Details
static CustomFunction
wasm(string $source)
Specifies the wasm file to use for the custom function.
For more information about WebAssembly functions see the documentation.
static CustomFunction
remote(string $source)
Specifies the URL of the remote custom function.
For more information about remote custom functions see the documentation.
static CustomFunction
fromParams(array $qualifiers, bool $isPre = false)
Creates a new instance from an array of qualifiers.