Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newReadableStream :: (MonadDOM m, ToJSVal underlyingSource, ToJSVal options) => Maybe underlyingSource -> Maybe options -> m ReadableStream
- cancel :: (MonadDOM m, ToJSVal reason) => ReadableStream -> Maybe reason -> m JSVal
- cancel_ :: (MonadDOM m, ToJSVal reason) => ReadableStream -> Maybe reason -> m ()
- getReader :: (MonadDOM m, ToJSVal options) => ReadableStream -> Maybe options -> m GObject
- getReader_ :: (MonadDOM m, ToJSVal options) => ReadableStream -> Maybe options -> m ()
- pipeTo :: (MonadDOM m, ToJSVal streams, ToJSVal options) => ReadableStream -> streams -> Maybe options -> m JSVal
- pipeTo_ :: (MonadDOM m, ToJSVal streams, ToJSVal options) => ReadableStream -> streams -> Maybe options -> m ()
- pipeThrough :: (MonadDOM m, ToJSVal dest, ToJSVal options) => ReadableStream -> dest -> options -> m GObject
- pipeThrough_ :: (MonadDOM m, ToJSVal dest, ToJSVal options) => ReadableStream -> dest -> options -> m ()
- tee :: MonadDOM m => ReadableStream -> m GObject
- tee_ :: MonadDOM m => ReadableStream -> m ()
- getLocked :: MonadDOM m => ReadableStream -> m Bool
- newtype ReadableStream = ReadableStream {}
- gTypeReadableStream :: JSM GType
Documentation
newReadableStream :: (MonadDOM m, ToJSVal underlyingSource, ToJSVal options) => Maybe underlyingSource -> Maybe options -> m ReadableStream Source #
getReader_ :: (MonadDOM m, ToJSVal options) => ReadableStream -> Maybe options -> m () Source #
pipeTo :: (MonadDOM m, ToJSVal streams, ToJSVal options) => ReadableStream -> streams -> Maybe options -> m JSVal Source #
pipeTo_ :: (MonadDOM m, ToJSVal streams, ToJSVal options) => ReadableStream -> streams -> Maybe options -> m () Source #
pipeThrough :: (MonadDOM m, ToJSVal dest, ToJSVal options) => ReadableStream -> dest -> options -> m GObject Source #
pipeThrough_ :: (MonadDOM m, ToJSVal dest, ToJSVal options) => ReadableStream -> dest -> options -> m () Source #
tee_ :: MonadDOM m => ReadableStream -> m () Source #
newtype ReadableStream Source #
Functions for this inteface are in JSDOM.ReadableStream.
Instances
PToJSVal ReadableStream Source # | |
Defined in JSDOM.Types pToJSVal :: ReadableStream -> JSVal # | |
PFromJSVal ReadableStream Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> ReadableStream # | |
ToJSVal ReadableStream Source # | |
Defined in JSDOM.Types toJSVal :: ReadableStream -> JSM JSVal # toJSValListOf :: [ReadableStream] -> JSM JSVal # | |
FromJSVal ReadableStream Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe ReadableStream) # fromJSValUnchecked :: JSVal -> JSM ReadableStream # fromJSValListOf :: JSVal -> JSM (Maybe [ReadableStream]) # fromJSValUncheckedListOf :: JSVal -> JSM [ReadableStream] # | |
MakeObject ReadableStream Source # | |
Defined in JSDOM.Types makeObject :: ReadableStream -> JSM Object # | |
IsGObject ReadableStream Source # | |
Defined in JSDOM.Types typeGType :: ReadableStream -> JSM GType |