|  Developer
Updated on May 17, 2022

set_subscription_filters(subscriber_id, filter_rules)

Edit
  • subscriber_id: string
  • filter_rules: table (array)
Edit
  • nil
Edit
				
					local core = require "core"

core.subscribe("HUB:scripts/events_handling")
core.set_subscription_filters("HUB:scripts/events_handling", { { event = "node_added" } } )