pallet.argument documentation

Arguments to actions. Adds capability of evaluating arguments at action application

*session*

var

Provides a session inside a delayed function. This should be considered an implementation detail.

->DelayedFunction

fn

[f]

Positional factory function for class pallet.argument.DelayedFunction.

DelayedArgument

var

A protocol for passing arguments, with delayed evaluation.

delayed

macro

[[session-sym] & body]

Pass an argument to be evaluated at action application time.

delayed-argument?

fn

[x]

Predicate to test if x is a delayed argument type.

delayed-fn

fn

[f]

Pass a function with a single argument, to be used to compute an argument at action application time.