Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

how can I create sync.Context?I didn`t found the method #262

Closed
mingmingshiliyu opened this issue Nov 2, 2023 · 3 comments
Closed

how can I create sync.Context?I didn`t found the method #262

mingmingshiliyu opened this issue Nov 2, 2023 · 3 comments
Labels
question Further information is requested

Comments

@mingmingshiliyu
Copy link

No description provided.

@cschleiden
Copy link
Owner

workflow.Background() for example

@mingmingshiliyu
Copy link
Author

workflow.Background() for example

image none

@cschleiden cschleiden reopened this Nov 2, 2023
@cschleiden
Copy link
Owner

Ah right, try workflow.NewDisconnectedContext(ctx)

For unit testing workflows, try the built-in workflow tester. It will automatically provide the right context to your workflow.

@cschleiden cschleiden added the question Further information is requested label Nov 2, 2023
Repository owner locked and limited conversation to collaborators Nov 2, 2023
@cschleiden cschleiden converted this issue into discussion #265 Nov 2, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants