mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-01 23:46:53 +00:00
add rpc publish_event() , pop_event() and remove cevent (#253)
This commit is contained in:
committed by
Jiaqiang Xu
parent
b85d194b4b
commit
aa0185203b
@@ -789,3 +789,13 @@ class SeafServerThreadedRpcClient(NamedPipeClient):
|
||||
@searpc_func("int", ["string"])
|
||||
def cancel_copy_task(task_id):
|
||||
pass
|
||||
|
||||
# event
|
||||
@searpc_func("int", ["string", "string"])
|
||||
def publish_event(channel, content):
|
||||
pass
|
||||
|
||||
@searpc_func("string", ["string"])
|
||||
def pop_event(channel):
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user