Skip to content

DataWriter

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface DataWriter<T>

Interface to be implemented by the class which wants to write arbitrary data with the given EventBatchWriter.

Functions

write

@WorkerThread

abstract fun write(writer: EventBatchWriter, element: T, eventType: EventType): Boolean

Writes the element with a given EventBatchWriter.

Return

true if element was written, false otherwise.

Parameters
writer the writer to use
element the event to write
eventType additional info about the event
Clone this wiki locally