wait_for_collection method
Triggers only once.
If object that satisfies the filter conditions
already exists - returns it immediately.
If not - waits for insert/update of data within the specified timeout,
and returns it.
The projection fields are limited to result fields
Implementation
Future<ResultOfWaitForCollection> wait_for_collection(
ParamsOfWaitForCollection params) async {
final res = await _tonCore.request(
'net.wait_for_collection', params.toString());
return ResultOfWaitForCollection.fromMap(res);
}