delete

abstract fun delete(): Completable

Removes the object in scope in an asynchronous way. See the implementation JavaDoc for details on how deletion is performed. It returns a Completable that completes as soon as the object is deleted in the database. The Completable fails if the object doesn't exist.

Return

the Completable which notifies the completion