detach

abstract fun detach(iid: InstanceId)

Detaches an instance from the actor.

Note: Currently, This function must be called from the main(UI) thread. If you call it from a thread other than the main thread, the internal state value will be out of sync.*