jfrog-workers 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -72,4 +72,9 @@ export interface PlatformContext {
|
|
|
72
72
|
platformToken: string;
|
|
73
73
|
clients: PlatformClients;
|
|
74
74
|
secrets: PlatformSecrets;
|
|
75
|
+
/**
|
|
76
|
+
* Pauses the execution of the current worker for a specified duration.
|
|
77
|
+
* @param {string} timeoutMillis - The duration in milliseconds to pause the execution.
|
|
78
|
+
*/
|
|
79
|
+
wait(timeoutMillis: number): Promise<void>;
|
|
75
80
|
}
|