taskPoint

fun <T> taskPoint(task: () -> T): Pointer<T>(source)

Create a new pointer which performs the given task on access and returns the result of the task

Return

The new pointer

Since

0.1.0

Parameters

task

The task to perform