Manages the framerate for refreshing
- Stream
+ new Stream(options
: StreamOptions): Stream
Defined in src/stream.ts:29
Name | Type |
---|---|
options |
StreamOptions |
Returns: Stream
• options: StreamOptions
Defined in src/stream.ts:31
• running: boolean = false
Defined in src/stream.ts:29
▸ renderSingleFrame(): Promise<[void, void]>
Defined in src/stream.ts:60
Renders a single frame
Returns: Promise<[void, void]>
▸ renderThread(): Promise<void>
Defined in src/stream.ts:38
Asynchronously runs the render loop
Returns: Promise<void>