getTimelineEventsFromNowOn
abstract fun getTimelineEventsFromNowOn(decryptionTimeout: Duration = 30.seconds, syncResponseBufferSize: Int = 4): Flow<TimelineEvent>
Returns all timeline events from the moment this method is called. This also triggers decryption for each timeline event.
It is possible, that the matrix server does not send all timeline events. These gaps in the timeline are not filled automatically. Gap filling is available in getTimelineEvents and getLastTimelineEvents.
Parameters
syncResponseBufferSize
the number of syncs that will be buffered. When set to 0, the sync will be suspended until all events from the current sync response are consumed. This could prevent decryption, because keys may be received in a later sync response.