save

fun save(session: EditorSession): Boolean

Command that invokes all registered onSave handlers.

Handlers run in a coroutine launched on the session's EditorSession.coroutineScope. Returns true when at least one handler is registered, false otherwise.