跳转到正文

tooldelta_blobs API ​

完整接口目录 · 多语言与兼容桥接用法 · 工具包下载

模块说明 ​

text
Owned bounded cache/payload adapter for the original BlobHashHolder.

Construct/close on the IPC loop, load only from plugin threads. The owner must
keep that loop alive through aclose. This owns its BulkClient, not plugin threads.

ThreadBlobReads ​

python
class ThreadBlobReads

ThreadBlobReads.__init__ ​

python
def __init__(self, peer, session, *, max_pending=4)

ThreadBlobReads.owned_threads ​

python
def owned_threads(self)

ThreadBlobReads.load_blob_cache ​

python
def load_blob_cache(self, hash, *, timeout=45)

ThreadBlobReads.aclose ​

python
async def aclose(self)

ThreadBlobReads.update_blob_cache ​

python
def update_blob_cache(self, hash, payload)

ThreadBlobReads.soft_call_with_bytes ​

python
def soft_call_with_bytes(self, api, args, *, timeout=30)

Neomega · 使用、开发与参考文档