---
name: "isOfflineDpSyncing"
mode: "api"
versionRequirements:
  - { name: "@ray-js/lock-sdk", version: "1.1.0" }
title: "isOfflineDpSyncing - Whether a DP has a pending offline sync task."
summary: "Uses local pushStatus to detect tasks published to the cloud but not yet pulled by the device."
---

## isOfflineDpSyncing

> [VERSION] @ray-js/lock-sdk >= 1.1.0

### Description

Determine whether the specified offline DP is still syncing (push not completed).

### Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | `string` | Yes | DP code |

### Return Value

None


### Examples

#### Example

```ts
import { isOfflineDpSyncing } from '@ray-js/lock-sdk';
const syncing = isOfflineDpSyncing();
```
