Azure / Azure/azure-functions-host

(Queue) Push-OutputBinding support initialVisibilityDelay

Open
#6,525 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 10h
Merged PRs (30d)
36

Description

I need to put something into a storage queue with a delay before it will be processed next. Currently resorting to below which is obviously far from optimal. Am I missing something with `Push-OutputBinding` that could do this in a better way?

```powershell
$Value = @{
'MeaningOfLife' = 42
}
Start-Sleep -Seconds 5
Push-OutputBinding -Name 'myqueue' -Value $Value
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the PowerShell Push-OutputBinding entry point and how the queue output binding handles values. Confirm how initialVisibilityDelay is represented by the queue service, then check whether existing queue-binding tests cover delayed messages; done means a queue message can be submitted with the requested delay without Start-Sleep.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.