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

CreateOrUpdateStreamAsync? #676

Open
aradalvand opened this issue Nov 11, 2024 · 2 comments
Open

CreateOrUpdateStreamAsync? #676

aradalvand opened this issue Nov 11, 2024 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@aradalvand
Copy link

Proposed change

Add a CreateOrUpdateStreamAsync on INatsJSContext — analogous to CreateOrUpdateConsumerAsync on INatsJSStream — the Go client added this a long time ago.

Use case

Obvious; similar to CreateOrUpdateConsumer.

Contribution

No response

@mtmk
Copy link
Collaborator

mtmk commented Nov 11, 2024

if Go has it we can too ;)

I'm guessing it's fine but not sure if there is a race the create would fail if the stream is already there.

@mtmk mtmk added good first issue Good for newcomers help wanted Extra attention is needed labels Nov 13, 2024
@Ivandemidov00
Copy link
Contributor

Hi guys!
Can I do this task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants