Jump to navigation

Class: TPromise

Numbas.jme.types.TPromise

new TPromise(promise)

A JavaScript Promise, as a token.

Parameters:
Name Type Description
promise string

The promise this token represents.

Properties:
Name Type Description
promise Promise

The promise this token represents.

Source: