pub fn num_events( context: &mut NativeContext<'_, '_>, ty_args: Vec<Type>, args: VecDeque<Value>, ) -> PartialVMResult<NativeResult>
Get the all emitted events of type T, starting at the specified index
T