Method decorator factory that invokes the sync callback after the decorated method completes. Works with any class that exposes notifySync (facades) or onSync (API services).
notifySync
onSync
Options object.
Optional
Optional device type to pass to the sync callback.
A method decorator that triggers sync after execution.
Method decorator factory that invokes the sync callback after the decorated method completes. Works with any class that exposes
notifySync(facades) oronSync(API services).