get事件

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

Calls Context.getEvents.