dispose

fun dispose()

Disposes the resources handled by this DatasyncManager instance, that is all its subscriptions and all allocated JS resources (callbacks)

It is particularly useful when the DatasyncManager instance is associated with an Android view: it can be called as soon as the view is disposed (for example from the Activity.onDestroy callback).