enqueue
Enqueues a task request.
If online: executes immediately via KmpWorker.enqueue.
If offline: persists to TaskRepository for later replay.
Deduplication: If a task with the same ID already exists in the repository (status PENDING or RUNNING), it will not be inserted again.
Parameters
request
The task to schedule.