VintageNet.subscribe

You're seeing just the function subscribe, go back to VintageNet module for more information.

Specs

Subscribe to property change messages

Messages have the form:

{VintageNet, property_name, old_value, new_value, metadata}

Subscriptions are prefix matches. For example, to get notified whenever a property changes on "wlan0", run this:

VintageNet.subscribe(["interface", "wlan0"])

It's also possible to match with wildcards using :_. For example, to get notified whenever an IP address in the system changes, do this:

VintageNet.subscribe(["interface", :_, "addresses"])