dazl.ledger.blocking¶
Note
There is currently no implementation of this interface! Blocking gRPC support is planned for
dazl v7.6.0. If you need a blocking API, you must continue to use the dazl.Network
and dazl.Network.simple_party() API until dazl v7.6.0.
Protocol that describes the interface for a blocking connection to a Daml ledger. The methods of
an implementation should be thread-safe, with the exception of open() and close().
Since dazl activity is typically dominated by I/O, using a blocking Connection with
multiple threads is usually more expensive than using connections. You should consider
using the asyncio variant of this API (dazl.ledger.aio.Connection) instead.