Skip to content

cancelResumableSession

function cancelResumableSession(sessionId): Promise<void>;

Defined in: packages/asset-uploader-expo/src/index.ts:34

Forcefully cancel a session — drops any in-flight native task and removes its persisted state. Idempotent: safe to call on a sessionId that no longer has any work pending.

Parameter Type
sessionId string

Promise<void>