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

[Source]

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

[Source]

fun ref apply(
  value: A)
: B ?

Parameters

  • value: A

Returns

  • B ?