getEvents

suspend fun getEvents(currentInvocation: Boolean = false, currentBranch: Boolean = false): List<Event>

Returns the events from the current session.

Return

A list of events from the current session.

Parameters

currentInvocation

Whether to filter the events by the current invocation.

currentBranch

Whether to filter the events by the current branch.