Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype JSVal = JSVal (IORef JSValueRef)
- type JSValueRef = Int64
- data JSException = JSException JSVal String
- data WouldBlockException = WouldBlockException
- mkJSException :: JSVal -> IO JSException
- jsNull :: JSVal
Documentation
type JSValueRef = Int64 Source #
data JSException Source #
data WouldBlockException Source #
If a synchronous thread tries to do something that can only be done asynchronously, and the thread is set up to not continue asynchronously, it receives this exception.
mkJSException :: JSVal -> IO JSException Source #