Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.