MCPcopy Create free account
hub / github.com/apache/trafficserver / invoke

Method invoke

src/tscore/ArgParser.cc:617–626  ·  view source on GitHub ↗

invoke the function with the args

Source from the content-addressed store, hash-verified

615
616// invoke the function with the args
617void
618Arguments::invoke()
619{
620 if (_action) {
621 // call the std::function
622 _action();
623 } else {
624 throw std::runtime_error("no function to invoke");
625 }
626}
627
628bool
629Arguments::has_action() const

Callers 1

test_ArgParser.ccFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected