proxystore.connectors¶
Connector implementations.
A Connector is an interface
to a mediated communication channel or object store. Connectors operate on
low-level bytes and are used by the Store
to store and get serialized Python objects.
Third-party code can provide custom connectors by implementing the
Connector protocol. (Note:
because Connector is a
Protocol, custom connectors do not need
to inherit from Connector.)
Example
Tip
All of the Connector
implementations in this module can be used as context managers.
Context manager support is not a required component of the
Connector protocol. It is
simply provided for convenience with the native implementations.