@shopify/oxygen-workers-types
Preparing search index...
TransformStreamDefaultController
Interface TransformStreamDefaultController<O>
interface
TransformStreamDefaultController
<
O
=
any
>
{
get
desiredSize
()
:
null
|
number
;
enqueue
(
chunk
?:
O
)
:
void
;
error
(
reason
:
any
)
:
void
;
terminate
()
:
void
;
}
Type Parameters
O
=
any
Index
Accessors
desired
Size
Methods
enqueue
error
terminate
Accessors
desired
Size
get
desiredSize
()
:
null
|
number
Returns
null
|
number
Methods
enqueue
enqueue
(
chunk
?:
O
)
:
void
Parameters
Optional
chunk
:
O
Returns
void
error
error
(
reason
:
any
)
:
void
Parameters
reason
:
any
Returns
void
terminate
terminate
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
desired
Size
Methods
enqueue
error
terminate
@shopify/oxygen-workers-types
Loading...