task_callback: A callback run after each top-level expression is evaluated.

Description Usage Arguments Value

Description

From addTaskCallback(): if the data argument was specified in the call to addTaskCallback, that value is given as the fifth argument.

Usage

1
task_callback(expr, result, successful, printed, state)

Arguments

expr

Expression for the top-level task.

result

Result of the top-level task.

successful

A logical value indicating whether it was successfully completed or not (always TRUE at present).

printed

A logical value indicating whether the result was printed or not.

state

created with new_state, passed as the data argument to addTaskCallback

Value

A logical value indicating whether to keep this function in the list of active callbacks.


lbartnik/ui documentation built on May 21, 2019, 9:38 a.m.