Skip to content

Commit

Permalink
Add some docs to TaskMonitor interface
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Jul 8, 2024
1 parent eda9a21 commit 7c8adb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/composables/genericTaskMonitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import { errorMessageAsString } from "@/utils/simple-error";

const DEFAULT_POLL_DELAY = 10000;

/**
* Represents a task monitor that can be used to wait for a background task to complete or
* check its status.
*/
export interface TaskMonitor {
/**
* Waits for a particular task ID to be completed.
Expand Down

0 comments on commit 7c8adb0

Please sign in to comment.