Skip to content

Commit d48fda6

Browse files
committed
Article flow update
1 parent 65b757f commit d48fda6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/storage/blobs/storage-quickstart-blobs-nodejs-v10.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,6 @@ https://<ACCOUNT_NAME>.blob.core.windows.net/demo/quickstart.txt
197197

198198
As with the container, the block blob doesn't exist yet. The *blockBlobURL* variable is used later to create the blob by uploading content.
199199

200-
### Create a container
201-
202-
To create a container, the *ContainerURL*'s *create* method is used.
203-
204-
```javascript
205-
await containerURL.create(aborter);
206-
console.log(`Container: "${containerName}" is created`);
207-
```
208-
209-
As the name of the container is defined when calling *ContainerURL.fromServiceURL(serviceURL, containerName)*, calling the *create* method is all that's required to create the container.
210-
211200
### Using the Aborter class
212201

213202
Requests made by the API can be set to time-out after a given interval. The *Aborter* class is responsible for managing how requests are timed out. The following code creates a context where a set of requests is given 30 minutes to execute.
@@ -223,6 +212,17 @@ Aborters give you control over requests by allowing you to:
223212
- allow you to cancel requests
224213
- use the *Aborter.none* static member to stop your requests from timing out all together
225214

215+
### Create a container
216+
217+
To create a container, the *ContainerURL*'s *create* method is used.
218+
219+
```javascript
220+
await containerURL.create(aborter);
221+
console.log(`Container: "${containerName}" is created`);
222+
```
223+
224+
As the name of the container is defined when calling *ContainerURL.fromServiceURL(serviceURL, containerName)*, calling the *create* method is all that's required to create the container.
225+
226226
### Show container names
227227

228228
Accounts can store a vast number of containers. The following code demonstrates how to list containers in a segmented fashion, which allows you to cycle through a large number of containers. The *showContainerNames* function is passed instances of *ServiceURL* and *Aborter*.

0 commit comments

Comments
 (0)