Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// resolve :: a -> Promise a
// reject :: a -> Promise a
// of :: a -> AsyncMonad a
// then :: (a -> b) -> Promise b
// map :: (a -> b) -> AsyncMonad b
// then :: (a -> Promise b) -> Promise b
// flatMap :: (a -> AsyncMonad b) -> AsyncMonad b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment