# cancelResumableSession

```ts
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.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `sessionId` | `string` |

## Returns

`Promise`\<`void`\>