Can events be passed as an input parameter to module

In reply to sharvil111:

Thank you for the reply.
it is for a testbench.
yeah, I would do that but i have around 20 events in my module and having triggering points for these will make my code very bulky and not readable.
is there any way i can pass events as arguments?

i tried it this way but it didn’t work for me