Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

feat: add closeRead and closeWrite to stream timeline properties #401

Merged
merged 2 commits into from
May 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: add reset timestamp
achingbrain committed May 16, 2023
commit f44fe8afa70f4cc690157cbd0481367b35f49716
8 changes: 8 additions & 0 deletions packages/interface-connection/src/index.ts
Original file line number Diff line number Diff line change
@@ -48,18 +48,26 @@ export interface StreamTimeline {
* A timestamp of when the stream was opened
*/
open: number

/**
* A timestamp of when the stream was closed for both reading and writing
*/
close?: number

/**
* A timestamp of when the stream was closed for reading
*/
closeRead?: number

/**
* A timestamp of when the stream was closed for writing
*/
closeWrite?: number

/**
* A timestamp of when the stream was reset
*/
reset?: number
}

export interface StreamStat {