File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { api } from "encore.dev/api" ;
2
2
3
- // The Handshake object can be used to pass initial data, it's optional .
3
+ // Used to pass initial data.
4
4
interface UploadHandshake {
5
5
user : string ;
6
6
}
7
7
8
- // The Request object is what the clients sends over the stream.
8
+ // What the clients sends over the stream.
9
9
interface DataChunk {
10
10
data : string ;
11
11
done : boolean ;
12
12
}
13
13
14
- // The Response object gets returned when the stream is done.
14
+ // Returned when the stream is done.
15
15
interface StreamEndResponse {
16
16
success : boolean ;
17
17
}
Original file line number Diff line number Diff line change 1
1
import { api , StreamOut } from "encore.dev/api" ;
2
2
3
- // The Handshake object can be used to pass initial data, it's optional .
3
+ // Used to pass initial data.
4
4
interface LogHandshake {
5
5
rows : number ;
6
6
}
7
7
8
+ // What the server sends over the stream.
8
9
interface LogMessage {
9
10
message : string ;
10
11
}
You can’t perform that action at this time.
0 commit comments