Pass action to worker callback