Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 544 Bytes

Delegate.md

File metadata and controls

14 lines (8 loc) · 544 Bytes

Delegate is an object that is used in the Account Manager to notify about events happening with orders, positions and other information displayed in the tables.

subscribe(object, member)

  1. object is an owner of member, and can be null for a function
  2. member is a method of object

Subscribes object::member to the event.

unsubscribe(object, member)

Unsubscribes object::member from the event.

Use the same object and member that you used in the subscribe function to unsubscribe from the event.