class

PiFuture

@Js
const class PiFuture : Future

Future with conveniences for presentation model and user interface

methods describe

Set to summary message that describes the operation of this future

description

Get the description of this future set via describe

onComplete

Register a callback to handle both ok and error conditions Return result to chain to next future

onDict

Convenience to handle onOk with dict result

onErr

Register callback to handle when future completes with an error

onGrid

Convenience to handle onOk with grid result

onItem

Convenience to handle onOk with item result

onOk

Register callback to handle when future completes successfully

describe This describe(Str msg)

Set to summary message that describes the operation of this future

description Str description()

Get the description of this future set via describe

onComplete This onComplete(|Err?,Obj?->Obj?| cb)

Register a callback to handle both ok and error conditions Return result to chain to next future.

onDict This onDict(|Dict?->Obj?| cb)

Convenience to handle onOk with dict result.

onErr This onErr(|Err->Obj?| cb)

Register callback to handle when future completes with an error. Return result to chain to next future.

onGrid This onGrid(|Grid?->Obj?| cb)

Convenience to handle onOk with grid result.

onItem This onItem(|Item?->Obj?| cb)

Convenience to handle onOk with item result.

onOk This onOk(|Obj?->Obj?| cb)

Register callback to handle when future completes successfully. Return result to chain to next future.

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT