Amazon.DynamoDBv2.DocumentModel.Search.GetNextSetAsync C# (CSharp) Method

GetNextSetAsync() public method

Initiates the asynchronous execution of the GetNextSet operation.
public GetNextSetAsync ( AmazonDynamoDBCallback callback, AsyncOptions asyncOptions = null ) : void
callback AmazonDynamoDBCallback The callback that will be invoked when the asynchronous operation completes.
asyncOptions Amazon.Runtime.AsyncOptions An instance of AsyncOptions that specifies how the async method should be executed.
return void
        public void GetNextSetAsync(AmazonDynamoDBCallback<List<Document>> callback, AsyncOptions asyncOptions = null)
        {
            asyncOptions = asyncOptions ?? new AsyncOptions();
            DynamoDBAsyncExecutor.ExecuteAsync<List<Document>>(
                () => { return GetNextSetHelper(true); },
                asyncOptions,
                callback);
        }