softDeleteNote

fun softDeleteNote(note: Note): Job

Marks a note as "soft-deleted" by setting its 'isDeleted' flag to true. The note is updated in the database, not physically removed. This operation is performed asynchronously in a coroutine.

Parameters

note

The Note object to be soft-deleted.