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

GetRemainingAsync() public method

Initiates the asynchronous execution of the GetRemaining operation.
public GetRemainingAsync ( 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 GetRemainingAsync(AmazonDynamoDBCallback<List<Document>> callback, AsyncOptions asyncOptions = null)
        {
            asyncOptions = asyncOptions ?? new AsyncOptions();
            DynamoDBAsyncExecutor.ExecuteAsync<List<Document>>(
                () => { return GetRemainingHelper(true); },
                asyncOptions,
                callback);
        }