W3cubDocs

/Pony

_IThen[A: Any #share]

[Source]

An interface representing an abstract Then. This allows for any Then that accepts an input of type A, regardless of the output type.

interface ref _IThen[A: Any #share]

Public Functions

apply

[Source]

fun ref apply(
  value: A)
: None val

Parameters

  • value: A

Returns

reject

[Source]

fun ref reject()
: None val

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/promises-_IThen