Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #84

Merged
merged 2 commits into from
Jul 21, 2016
Merged

Master #84

merged 2 commits into from
Jul 21, 2016

Conversation

WilliamOckham
Copy link

Adds the option to specify the visibilityTimeout for Azure Storage Queue messages when dequeuing.

johnc-j added 2 commits July 21, 2016 08:42
…equeuing a message from an Azure Storage Queue

The existing Dequeue member  of the ProvidedQueue type gains an
additional optional Timespan parameter. I also added an overload that
accepts a TimeSpan and uses the default connection string. The net
effect is to allow the user to call Dequeue in the following ways:

Dequeue() -> Dequeue(?connectionString, ?visibilityTimeout)
Dequeue("some connection string") -> Dequeue(?connectionString,
?visibilityTimeout)
Dequeue("some connection string",  TimeSpan.FromMinutes(1..0) ->
Dequeue(?connectionString, ?visibilityTimeout)
Dequeue(TimeSpan.FromMinutes(1.0) -> Dequeue(visibilityTimeout)
@isaacabraham
Copy link
Collaborator

Thanks for this :-)

@isaacabraham
Copy link
Collaborator

Closes #79

@isaacabraham isaacabraham merged commit abe2da0 into fsprojects:master Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants