AsyncPool.postTransaction

Asynchronous way to execute transaction. User can check transaction status by calling isTransactionReady method. When isTransactionReady method returns true, the transaction can be finalized by getTransaction method.

class AsyncPool
immutable(ITransaction)
postTransaction
shared
(
string[] commands
,
string[] params = []
,
uint[] argnums = []
,
string[string] vars = null
,
bool[] oneRowConstraint = []
)

Return Value

Type: immutable(ITransaction)

Specific interface to distinct the query among others.

Throws

ConnTimeoutException

See Also

isTransactionReady, getTransaction.

Meta