typo
[mdref/mdref-pq] / pq / Transaction / importSnapshotAsync.md
1 # void pq\Transaction::importSnapshotAsync(string $snapshot_id)
2
3 [Asynchronously](pq/Connection/: Asynchronous Usage) import a snapshot from another transaction to synchronize with.
4 See pq\Transaction::importSnapshot().
5
6 > ***NOTE:***
7 The transaction must have an isolation level of at least pq\Transaction::REPEATABLE_READ.
8
9 ## Params:
10
11 * string $snapshot_id
12 The snapshot identifier obtained by exporting a snapshot from a transaction.
13
14 ## Throws:
15
16 * pq\Exception\InvalidArgumentException
17 * pq\Exception\BadMethodCallException
18 * pq\Exception\RuntimeException