W3cubDocs

/Pony

Reject[A: Any #share]

[Source]

A function on A that is called when a promise is rejected.

interface iso Reject[A: Any #share]

Public Functions

apply

[Source]

fun ref apply()
: A ?

Returns

  • A ?

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