question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support multiple calls to Push-OutputBinding to same `-Name`

See original GitHub issue

Currently, there is a limitation that if you want to push two items to the same storage queue, you must call Push-OutputBinding only once with an array of those items. It’s more natural in the script to call Push-OutputBinding multiple times at the time of creation of that queue item rather than collecting them and then pushing at the end.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
daxian-dbwcommented, Mar 12, 2019

we’d need to decide which does which

Agreed. We will have to play with them ourselves first anyways.

what the default behavior will be in the event that a new binding is added

My personal opinion is: start conservatively – assuming no collection support for new out bindings.

0reactions
daxian-dbwcommented, Mar 20, 2019

Fixed via #168

Read more comments on GitHub >

github_iconTop Results From Across the Web

PowerShell developer reference for Azure Functions
When the output binding accepts a collection of values, you can call Push-OutputBinding repeatedly to push multiple values.
Read more >
Azure Functions | Using output binding multiple times
Whether you can call an output binding multiple times in a function depends on the binding type and how it is written.
Read more >
PowerShell in Azure Functions v2 is generally available
When the output binding accepts a collection of values, you can call Push-OutputBinding repeatedly to push multiple values; When the output ...
Read more >
Using PnP PowerShell in Azure Functions
Notice that the Azure Function scripts in this article run in a separate thread/job. ... -ManagedIdentity Get-PnPMicrosoft365Group Push-OutputBinding -Name ...
Read more >
Custom Bindings for Azure Functions - Emanuel ... - YouTube
Push - OutputBinding 'Anything' - Custom Bindings for Azure Functions - Emanuel Palm - PSConfEU 2022 · PowerShell Conference EU · Managing Microsoft ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found