method Qworum.eval
Qworum.eval(script)

Evaluates a Qworum script.

The outcome is one of:

  • Redirection to a new URL (the current Qworum session continues).
  • Closing of the browser tab after displaying an alert window (the current Qworum session has terminated).

Examples

Evaluate a Qworum script:

await Qworum.eval(
  Script(
    Goto('next-phase/')
  )
);

Parameters

script

Return Type

See

Usage

import { Qworum } from ".";