init
open suspend override fun init(startFrom: EventId, configStart: GetTimelineEventConfig.() -> Unit, configBefore: GetTimelineEventsConfig.() -> Unit, configAfter: GetTimelineEventsConfig.() -> Unit): TimelineStateChange<T>
Initialize the timeline with the start event.
Consider wrapping this method call in a timeout, since it might fetch the start event from the server if it is not found locally.
The timeline can be initialized multiple times from different starting events. It tries to re-use elements.
Parameters
start From
The event id to try start timeline generation from.
config Start
The config for getting the startFrom.
config Before
The config for getting TimelineEvents before startFrom.
config After
The config for getting TimelineEvents after startFrom.