Function atValue

  • Takes a tasks record of Tasks and returns a function that will return the Task of the record that matches the serialization of value; otherwise null. Particularly useful for stdio tasks such as confirm, prompt, and select.

    Parameters

    Returns Callable<Serial, Task | null>