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