Evt.asNonPostable(evt)
Evt.asNonPostable() is the identity function with special type annotation
Return the passed evt typed as an object that can't be posted.
Usecase:
Take this example.
You could use this function to enforce that the return type by inferred and save you the trouble of having to import the StatefulReadonlyEvt
interface:
Last updated