add System/Event
This commit is contained in:
@@ -82,7 +82,8 @@ class Node::Lambda : public nf7::Context {
|
||||
}
|
||||
|
||||
virtual void Handle(
|
||||
std::string_view, const nf7::Value&, const std::shared_ptr<Lambda>&) noexcept = 0;
|
||||
std::string_view, const nf7::Value&, const std::shared_ptr<Lambda>&) noexcept {
|
||||
}
|
||||
|
||||
std::shared_ptr<Node::Lambda> parent() const noexcept { return parent_.lock(); }
|
||||
|
||||
|
@@ -100,7 +100,7 @@ struct NodeRootLambda::Builder final {
|
||||
return prod_;
|
||||
}
|
||||
|
||||
void Send(std::string_view name, const nf7::Value& v) noexcept {
|
||||
void Send(std::string_view name, const nf7::Value& v) {
|
||||
assert(built_);
|
||||
CheckInput(name);
|
||||
target_->Handle(name, v, prod_);
|
||||
|
Reference in New Issue
Block a user