MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / toFunction

Method toFunction

source/json_tool/json_tool.hpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 virtual void flush() = 0;
86
87 function<void(FormattedJson const& json)> toFunction() {
88 return [this](FormattedJson const& json) { this->out(json); };
89 }
90};
91
92class OutputOnSeparateLines : public Output {

Callers 1

mainFunction · 0.80

Calls 1

outMethod · 0.45

Tested by

no test coverage detected