Properties
Optional
abort
abort?: ((reason) => void | Promise<void>)
Type declaration
- (reason): void | Promise<void>
Returns void | Promise<void>
Optional
close
close?: (() => void | Promise<void>)
Type declaration
- (): void | Promise<void>
Returns void | Promise<void>
Optional
start
start?: ((controller) => void | Promise<void>)
Type declaration
- (controller): void | Promise<void>
Returns void | Promise<void>
Optional
type
type?: string
Optional
write
write?: ((chunk, controller) => void | Promise<void>)
Type declaration
- (chunk, controller): void | Promise<void>
Returns void | Promise<void>