Operation.send(args) has the method signature:
override public function send(... args : Array) : AsyncToken
So the ... args:Array param will be an Array of length 1 with an
Object as _your_ args var. This means you can only send ordered
arguments via send(). For named arguments, you use the
op.send([args]) turns into an Array holding an Array holding args
because the ... syntax in AS method signatures mean a variable number
of arguments passed to the method stored as an array.
So, the functional equivalent might be something like this:
op.send(EnterpriseId, DocumentType,
2 matches
Mail list logo