1
0
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:
Xiangyue Cai
2019-07-22 11:18:32 +08:00
committed by Jiaqiang Xu
parent b85d194b4b
commit aa0185203b
13 changed files with 208 additions and 90 deletions

View File

@@ -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