Event

Represents an abstract event that can be monitored for specific data types and additional arguments.

Parameters

DataType

The type of data that will be monitored.

CallbackT1

The type of the first parameter in the callback function.

CallbackT2

The type of the second parameter in the callback function.

CallbackT3

The type of additional argument (if any) for callback functions.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun checkAndFireCallback(cachedData: DataType, currentData: DataType, callback: Callback<CallbackT1, CallbackT2, CallbackT3>)

Abstract function to check and trigger a callback based on the provided data and callback.