function continuationSample () {
  var processArguments = process.argv;
  if (processArguments.length !== 4) {
    console.log('Incorrect number of arguments. Should be: numBlobs pageSize [deleteContainer]\nTry: 51 10');
    process.exit(1);
  } 

  totalBlobsCount = parseInt(processArguments[2], 10);
  pageSize = parseInt(processArguments[3], 10);

  console.log('Starting continuationSample.');

  // Create the container
  createContainer(container, function () {

  console.log('Entering createBlobs.');

    // Upload blobs from text.
    createBlobs(totalBlobsCount, function () {
      var options = {
        maxResults: pageSize,
        include: 'metadata',
        locationMode: azure.StorageUtilities.LocationMode.PRIMARY_THEN_SECONDARY
      };

      console.log('Entering listBlobs.');

      // List blobs using continuation tokens.
      listBlobs(options, null, function () {

        // Delete the container
        deleteContainer(container, function () {
          console.log('Ending continuationSample.');
        });
      });
    });
  });
}
This sample demonstrates how to handle continuation tokens and virtual "pages" of results when performing a listing
operation on the blob service.

This sample peformsthe following steps:

0. Create container.

1. Create 50 blobs.

2. List the first 10(page size) blobs.

3. Check whether there are more results.

4. Repeat 2 and 3 until complete.