Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions docs/ports/compiler-port.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,10 @@ export interface CompilerPort {
* Returns unsubscribe function.
*/
onCompileOutput?(callback: (line: string) => void): Unsubscribe

/**
* Abort any ongoing compilation process.
* Cleans up resources and resets compiler state.
*/
abort(): void
}
6 changes: 6 additions & 0 deletions docs/ports/device-port.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,10 @@ export interface DevicePort {
* Web: returns URL to bundled image asset.
*/
getPreviewImage(imageName: string): Promise<string>

/**
* Abort ongoing upload operations.
* Cleans up device connections and temporary files.
*/
abortUpload(): Promise<void>
}