FulfillIdentity[A: Any #share]
An identity function for fulfilling promises.
class iso FulfillIdentity[A: Any #share]
Constructors
create
new iso create() : FulfillIdentity[A] iso^
Returns
- FulfillIdentity[A] iso^
Public Functions
apply
fun ref apply( value: A) : A
Parameters
- value: A
Returns
- A
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/promises-FulfillIdentity