Tagged “promise”
-
ReasonML Journey Part III: Generics, Promises, and ExtendableEvent.waitUntil()
bucklescript promise reasonmlThis post continues the quest of trying to recreate the JavaScript service worker class ExtendableEvent in ReasonML. In this post I will show how to extend the subtype of
event
to includeExtendableEvent
's waitUntil method, which takes a generic Promise as a parameter.
See all tags.