You can also use google3 permanent callback as an action. Note that Callback or member function must be wrapped with Invoke(), whereas lambdas and functors will work by themselves.