CallSerializer::Call (open)

Call a function through the serializer, returns a promise for the function. The function will be called in a serialized manner.

Syntax

LOADLIB "wh::async.whlib";

OBJECT FUNCTION Call(FUNCTION PTR func, VARIANT ARRAY args)

Parameters

FUNCTION PTR func

Function to call

VARIANT ARRAY args

Arguments to the function

Return value

OBJECT

Promise for the function result