Cloud Storage Integrator 2016 Node.js Edition
Cloud Storage Integrator 2016 Node.js Edition
Questions / Feedback?

BlockList Event

Fired for every block when ListBlocks is called.

Syntax

azureblob.on('BlockList', [callback])

Callback

The 'callback' is called when the 'BlockList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.id
e.blockType
e.size

Remarks

This event is fired for each block returned by the server when ListBlocks is called. The Blocks collection will also be populated after ListBlocks returns and will hold the same information provided through this event.

The Id parameter holds the ID of the current block.

The BlockType parameter holds the type of the current block. Possible values are:

0 (Committed)The current block is committed.
1 (Uncommitted)The current block is not committed.

The Size parameter holds the size of the current block.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 Node.js Edition - Version 16.0 [Build 7239]