Fulfill[A: Any #share, B: Any #share]

A function from A to B that is called when a promise is fulfilled.

interface iso Fulfill[A: Any #share, B: Any #share]

Public Functions

apply

fun ref apply(
  value: A)
: B ?

Parameters

  • value: A

Returns

  • B ?