Observables Declaration

Table of Contents

About

An interface can declare one or many observables. Such an observable can be used to receive a signal on certain events within that interface.

Declaration

Observables are declared within an interface:

The MAXON_OBSERVABLE() attribute defines the following options:

  • the return value of the callback function
  • the name of the observable
  • the argument list of the callback function

Further Reading