Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Async Support

Tobias Klika edited this page Dec 15, 2013 · 2 revisions

All public methods, which communicate with the Pocket servers are asynchronous. So they should be called with the preceding await keyword, and the encapsulated method marked with async.

In PocketSharp versions < 1.0.0 all methods lacked async support and were blocking.

Cancellation Token

All public methods implment a cancellationToken as parameter since v3.0, which can be used to cancel running requests.

Clone this wiki locally