MCPcopy Create free account
hub / github.com/MoMingRose/QLAutomateTasks / print

Function print

notify.py:32–37  ·  view source on GitHub ↗

使输出有序进行,不出现多线程同一时间输出导致错乱的问题。

(text, *args, **kw)

Source from the content-addressed store, hash-verified

30
31# 定义新的 print 函数
32def print(text, *args, **kw):
33 """
34 使输出有序进行,不出现多线程同一时间输出导致错乱的问题。
35 """
36 with mutex:
37 _print(text, *args, **kw)
38
39
40# 通知服务

Callers 15

barkFunction · 0.85
consoleFunction · 0.85
dingding_botFunction · 0.85
feishu_botFunction · 0.85
go_cqhttpFunction · 0.85
gotifyFunction · 0.85
iGotFunction · 0.85
serverJFunction · 0.85
pushdeerFunction · 0.85
chatFunction · 0.85
pushplus_botFunction · 0.85
qmsg_botFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected