(signal?: AbortSignal)
| 902 | }; |
| 903 | |
| 904 | if (context) { |
| 905 | const backupPromise = context.runTask( |
| 906 | (signal) => execute(signal), |
| 907 | { label: `shift-backup:${taskId}` } |
| 908 | ); |
| 909 | backupPromise.catch(() => undefined); |
| 910 | } else { |
| 911 | await execute(); |
| 912 | } |
| 913 | |
| 914 | return taskId; |
| 915 | } |
| 916 | |
| 917 | private static async executeBackup( |
| 918 | taskId: string, |
nothing calls this directly
no test coverage detected