process

open suspend override fun EventRunningScope.process(data: Any): Result<Unit>

Processes dataEventRunningScope.incomingData, already validated non-null by ProcessDataEventRunner before this is called.

Receiver

EventRunningScope of the ProcessData event that dispatched to this processor — gives access to the same collaborators (data holders, Koin, tile editing, etc.) any EventRunner has.

Return

Result.success(Unit) to have ProcessData fire its own onSuccess, or a failed Result to have it fire onFailure.

Parameters

data

the non-null incomingData to process.