mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add Returns line to all the event subscription methods
This commit is contained in:
@@ -56,6 +56,8 @@ class Package
|
||||
# Essential: Invoke the given callback when all packages have been activated.
|
||||
#
|
||||
# * `callback` {Function}
|
||||
#
|
||||
# Returns a {Disposable} on which `.dispose()` can be called to unsubscribe.
|
||||
onDidDeactivate: (callback) ->
|
||||
@emitter.on 'did-deactivate', callback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user