Contextual

class Contextual

Value that can be resolved in an specific context.

It can be any of existing type. Then, its resolved value is the value itself.

Or it can be a callable object, such a function, with a single parameter. Then, its resolved value is the value returned as the result of calling it with contextual data as its single parameter.