Passing argument to handlerMethod of runIn() function?

I want to know how do we pass an argument to handlerMethod of runIn(). I want something like this

runIn(2*60, handlerMethod(argumentmap))

I tried using this in simulator but it is not running after two minutes, but right at the time when runIn is called.

I don’t think you can use arguments with a handlerMethod.

I usually just save the argument to state and then retrieve it from the handlerMethod.

2 Likes