notify(_:atValue:block:)
Schedules a notification handler to be called after the shareable event’s signal value equals or exceeds a given value.
Declaration
func notify(_ listener: MTLSharedEventListener, atValue value: UInt64, block: @escaping MTLSharedEventNotificationBlock)Parameters
- listener:
The listener object used to dispatch the notification.
- value:
The minimum value that needs to be signaled before the notification handler is called.
- block:
The notification handler to call.