Skip to main content

## parse_queued_op

# Function parse_queued_op

Source

    pub fn parse_queued_op(
        operation: &str,
        item_id: Option<&str>,
        payload: Option<&str>,
    ) -> Result<QueuedOp, String>

Expand description

Turn a stored row into something pushable.

Payload keys differ by producer: the Rust reporter writes `position_ticks`, while `syncService.queuePlaybackProgress` writes camelCase `positionMs`. Both are accepted rather than normalised at the producer, because rows already in users’ databases were written by both.

TRACES: UR-025 | DR-131 | UT-122