Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newWritableStream :: MonadDOM m => m WritableStream
- abort :: (MonadDOM m, ToJSVal reason) => WritableStream -> Maybe reason -> m JSVal
- abort_ :: (MonadDOM m, ToJSVal reason) => WritableStream -> Maybe reason -> m ()
- close :: MonadDOM m => WritableStream -> m JSVal
- close_ :: MonadDOM m => WritableStream -> m ()
- write :: (MonadDOM m, ToJSVal chunk) => WritableStream -> chunk -> m JSVal
- write_ :: (MonadDOM m, ToJSVal chunk) => WritableStream -> chunk -> m ()
- getClosed :: MonadDOM m => WritableStream -> m Bool
- getReady :: MonadDOM m => WritableStream -> m Bool
- getState :: (MonadDOM m, FromJSString result) => WritableStream -> m result
- newtype WritableStream = WritableStream {}
- gTypeWritableStream :: JSM GType
Documentation
close_ :: MonadDOM m => WritableStream -> m () Source #
getState :: (MonadDOM m, FromJSString result) => WritableStream -> m result Source #
newtype WritableStream Source #
Functions for this inteface are in JSDOM.WritableStream.
Instances
PToJSVal WritableStream Source # | |
Defined in JSDOM.Types pToJSVal :: WritableStream -> JSVal # | |
PFromJSVal WritableStream Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> WritableStream # | |
ToJSVal WritableStream Source # | |
Defined in JSDOM.Types toJSVal :: WritableStream -> JSM JSVal # toJSValListOf :: [WritableStream] -> JSM JSVal # | |
FromJSVal WritableStream Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe WritableStream) # fromJSValUnchecked :: JSVal -> JSM WritableStream # fromJSValListOf :: JSVal -> JSM (Maybe [WritableStream]) # fromJSValUncheckedListOf :: JSVal -> JSM [WritableStream] # | |
MakeObject WritableStream Source # | |
Defined in JSDOM.Types makeObject :: WritableStream -> JSM Object # | |
IsGObject WritableStream Source # | |
Defined in JSDOM.Types typeGType :: WritableStream -> JSM GType |