mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add docstring
This commit is contained in:
parent
083f1d998a
commit
a3c0d4a0ab
1 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,10 @@ class SaltEvent(object):
|
|||
operation for obtaining events. Eg use of
|
||||
set_event_handler() API. Otherwise, operation
|
||||
will be synchronous.
|
||||
:param Bool keep_loop: Pass a boolean to determine if we want to keep
|
||||
the io loop or destroy it when the event handle
|
||||
is destroyed. This is useful when using event
|
||||
loops from within third party async code
|
||||
'''
|
||||
self.serial = salt.payload.Serial({'serial': 'msgpack'})
|
||||
self.keep_loop = keep_loop
|
||||
|
|
Loading…
Add table
Reference in a new issue