proxystore.store.future¶
Proxy-future interface implementation.
Future
¶
Future(
factory: PollingStoreFactory[ConnectorT, T],
*,
serializer: SerializerT | None = None
)
Bases: Generic[T]
Future interface to a Store
.
Parameters:
-
factory
(PollingStoreFactory[ConnectorT, T]
) –Factory that can resolve the object once it is resolved. This factory should block when resolving until the object is available.
-
serializer
(SerializerT | None
, default:None
) –Use a custom serializer when setting the result object of this future.