Skip to content

Commit

Permalink
Merge pull request #1132 from nyurik/patch-1
Browse files Browse the repository at this point in the history
Update disposer.md
  • Loading branch information
benjamingr committed Jun 15, 2016
2 parents 4e7adce + 825fe54 commit aaf6330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/api/disposer.md
Expand Up @@ -13,7 +13,7 @@ title: .disposer
.disposer(function(any resource, Promise usingOutcomePromise) disposer) -> Disposer
```

A meta method used to specify the disposer method that cleans up a resource when using `Promise.using`.
A meta method used to specify the disposer method that cleans up a resource when using [`Promise.using`](/docs/api/promise.using.html).

Returns a Disposer object which encapsulates both the resource as well as the method to clean it up. The user can pass this object to `Promise.using` to get access to the resource when it becomes available, as well as to ensure its automatically cleaned up.

Expand Down

0 comments on commit aaf6330

Please sign in to comment.