class Call
extends Instruction

Call instructions in a Qworum script starts a new Qworum method call when evaluated by the Qworum interpreter in a web browser.

Examples

A call without arguments:

const call1 = Call.build('@', 'home/'); // resolve the URL with the URL of the web page that issued the Qworum.eval() command as the base URL.

A call with data arguments:

const call2 = Call.build(
  '@', 'home/',
  {name: 'current year', value: Json.build(2022)}
);
Static Methods
build(
object,
href,
parameters,
)

Builder for Call instructions.

Properties

readonly
href
readonly
object
readonly
parameters

Methods

Serialises the object to string for informational purposes.

See