Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newReadableByteStreamController :: (MonadDOM m, ToJSVal underlyingByteSource) => ReadableStream -> underlyingByteSource -> Word -> m ReadableByteStreamController
- enqueue :: (MonadDOM m, ToJSVal chunk) => ReadableByteStreamController -> Maybe chunk -> m ()
- close :: MonadDOM m => ReadableByteStreamController -> m ()
- error :: (MonadDOM m, ToJSVal error) => ReadableByteStreamController -> Maybe error -> m ()
- getByobRequest :: MonadDOM m => ReadableByteStreamController -> m ReadableStreamBYOBRequest
- getDesiredSize :: MonadDOM m => ReadableByteStreamController -> m Double
- newtype ReadableByteStreamController = ReadableByteStreamController {}
- gTypeReadableByteStreamController :: JSM GType
Documentation
newReadableByteStreamController :: (MonadDOM m, ToJSVal underlyingByteSource) => ReadableStream -> underlyingByteSource -> Word -> m ReadableByteStreamController Source #
enqueue :: (MonadDOM m, ToJSVal chunk) => ReadableByteStreamController -> Maybe chunk -> m () Source #
close :: MonadDOM m => ReadableByteStreamController -> m () Source #
error :: (MonadDOM m, ToJSVal error) => ReadableByteStreamController -> Maybe error -> m () Source #
getByobRequest :: MonadDOM m => ReadableByteStreamController -> m ReadableStreamBYOBRequest Source #
getDesiredSize :: MonadDOM m => ReadableByteStreamController -> m Double Source #
newtype ReadableByteStreamController Source #
Functions for this inteface are in JSDOM.ReadableByteStreamController.
Instances
PToJSVal ReadableByteStreamController Source # | |
Defined in JSDOM.Types | |
PFromJSVal ReadableByteStreamController Source # | |
Defined in JSDOM.Types | |
ToJSVal ReadableByteStreamController Source # | |
Defined in JSDOM.Types | |
FromJSVal ReadableByteStreamController Source # | |
Defined in JSDOM.Types | |
MakeObject ReadableByteStreamController Source # | |
Defined in JSDOM.Types | |
IsGObject ReadableByteStreamController Source # | |
Defined in JSDOM.Types |