FulfillIdentity[A: Any #share]

[Source]

An identity function for fulfilling promises.

class iso FulfillIdentity[A: Any #share]

Constructors

create

[Source]

new iso create()
: FulfillIdentity[A] iso^

Returns

Public Functions

apply

[Source]

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