(streamId: string)
| 236 | } |
| 237 | |
| 238 | export async function hasAbortMarker(streamId: string): Promise<boolean> { |
| 239 | return withRedisRetry({ operation: 'read_abort_marker', streamId }, async (redis) => { |
| 240 | const marker = await redis.get(getAbortKey(streamId)) |
| 241 | return marker === '1' |
| 242 | }) |
| 243 | } |
| 244 | |
| 245 | export async function clearAbortMarker(streamId: string): Promise<void> { |
| 246 | await withRedisRetry({ operation: 'clear_abort_marker', streamId }, async (redis) => { |
no test coverage detected