MCPcopy Create free account
hub / github.com/HuberTRoy/MusicBox / aAsync

Function aAsync

MusicPlayer/features/asyncBase.py:9–27  ·  view source on GitHub ↗

future 用于将任意函数包装成一个awaitable对象。 例: future = aAsync(requests.get, 'http://www.xxx.com', headers=headers) data = yield from future

(func, *args, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

downloadSongMethod · 0.90
searchMethod · 0.90
setUserDataMethod · 0.90
startRequestMethod · 0.90
downloadSongMethod · 0.90
searchMethod · 0.90
downloadSongMethod · 0.90
getLyricMethod · 0.90
loadRealMusicUrlMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected