|
| https://go.dev/ |
| Skip to Main Content | https://pkg.go.dev/github.com/dispatchrun/coroutine#main-content |
|
Why Go
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
|
| https://groups.google.com/g/golang-nuts |
|
| https://github.com/golang |
|
| https://twitter.com/golang |
|
| https://www.reddit.com/r/golang/ |
|
| https://invite.slack.golangbridge.org/ |
|
| https://stackoverflow.com/collectives/go |
|
| https://go.dev/ |
|
Why Go
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Why Go
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Docs
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Community
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
| https://groups.google.com/g/golang-nuts |
| https://github.com/golang |
| https://twitter.com/golang |
| https://www.reddit.com/r/golang/ |
| https://invite.slack.golangbridge.org/ |
| https://stackoverflow.com/collectives/go |
| Discover Packages | https://pkg.go.dev/ |
|
github.com/dispatchrun/coroutine
| https://pkg.go.dev/github.com/dispatchrun/coroutine@v0.9.3 |
|
| https://go.dev/ |
|
Version:
v0.9.3
| https://pkg.go.dev/github.com/dispatchrun/coroutine?tab=versions |
|
Go to latest
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
| Apache-2.0 | https://pkg.go.dev/github.com/dispatchrun/coroutine?tab=licenses |
|
Imports: 4
| https://pkg.go.dev/github.com/dispatchrun/coroutine?tab=imports |
|
Imported by: 2
| https://pkg.go.dev/github.com/dispatchrun/coroutine?tab=importedby |
| go.mod | https://github.com/dispatchrun/coroutine/tree/v0.9.3/go.mod |
| Learn more about best practices | https://pkg.go.dev/about#best-practices |
|
github.com/dispatchrun/coroutine
| https://github.com/dispatchrun/coroutine |
|
Open Source Insights
| https://deps.dev/go/github.com%2Fdispatchrun%2Fcoroutine/v0.9.3 |
|
README
| https://pkg.go.dev/github.com/dispatchrun/coroutine#section-readme |
|
Usage
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-usage |
|
Creating Coroutines
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-creating-coroutines |
|
Terminating Coroutines
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-terminating-coroutines |
|
Using Coroutines
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-using-coroutines |
|
Design Decisions
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-design-decisions |
|
Durable Coroutines
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-durable-coroutines |
|
Generate durable programs
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-generate-durable-programs |
|
Saving and Restoring
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-saving-and-restoring |
|
Extend serialization
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-extend-serialization |
|
Scheduling
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-scheduling |
|
Language Support
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-language-support |
|
Performance
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-performance |
|
Contributing
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-contributing |
|
Community
| https://pkg.go.dev/github.com/dispatchrun/coroutine#readme-community |
|
Documentation
| https://pkg.go.dev/github.com/dispatchrun/coroutine#section-documentation |
|
Index
| https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-index |
|
Constants
| https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-constants |
|
Variables
| https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-variables |
|
Functions
| https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-functions |
|
Run(c, f)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Run |
|
Yield(v)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Yield |
|
Types
| https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-types |
|
type Context
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
|
LoadContext()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#LoadContext |
|
(c) Marshal()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Marshal |
|
(c) Unmarshal(b)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Unmarshal |
|
(c) Yield(v)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Yield |
|
type Coroutine
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
|
New(f)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#New |
|
NewWithReturn(f)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#NewWithReturn |
|
(c) Context()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Context |
|
(c) Done()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Done |
|
(c) Next()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Next |
|
(c) Recv()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Recv |
|
(c) Result()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Result |
|
(c) Send(v)
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Send |
|
(c) Stop()
| https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Stop |
|
Source Files
| https://pkg.go.dev/github.com/dispatchrun/coroutine#section-sourcefiles |
|
Directories
| https://pkg.go.dev/github.com/dispatchrun/coroutine#section-directories |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#section-readme |
| https://github.com/dispatchrun/coroutine/actions/workflows/build.yml |
| https://pkg.go.dev/github.com/dispatchrun/coroutine |
| https://github.com/dispatchrun/coroutine/blob/v0.9.3/LICENSE |
| https://github.com/dispatchrun/coroutine/blob/v0.9.3/Discord |
| Fairy tales of workflow orchestration | https://dispatch.run/blog/fairy-tales-of-workflow-orchestration/ |
| Coroutines for Go | https://research.swtch.com/coro |
| function coloring problems | https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/ |
| examples | https://github.com/dispatchrun/coroutine/blob/v0.9.3/examples |
| the coroutine/types package | https://pkg.go.dev/github.com/dispatchrun/coroutine/types |
| Join us on Discord | https://dispatch.run/discord |
| Follow us on Twitter | https://twitter.com/_dispatchrun |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#section-documentation |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-index |
| Constants | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-constants |
| Variables | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-variables |
| func Run[R, S any](c Coroutine[R, S], f func(R) S) R | https://pkg.go.dev/github.com/dispatchrun/coroutine#Run |
| func Yield[R, S any](v R) S | https://pkg.go.dev/github.com/dispatchrun/coroutine#Yield |
| type Context | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| func LoadContext[R, S any]() *Context[R, S] | https://pkg.go.dev/github.com/dispatchrun/coroutine#LoadContext |
| func (c *Context[R, S]) Marshal() ([]byte, error) | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Marshal |
| func (c *Context[R, S]) Unmarshal(b []byte) error | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Unmarshal |
| func (c *Context[R, S]) Yield(v R) S | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Yield |
| type Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| func New[R, S any](f func()) Coroutine[R, S] | https://pkg.go.dev/github.com/dispatchrun/coroutine#New |
| func NewWithReturn[R, S any](f func() R) Coroutine[R, S] | https://pkg.go.dev/github.com/dispatchrun/coroutine#NewWithReturn |
| func (c Coroutine[R, S]) Context() *Context[R, S] | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Context |
| func (c Coroutine[R, S]) Done() bool | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Done |
| func (c Coroutine[R, S]) Next() bool | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Next |
| func (c Coroutine[R, S]) Recv() R | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Recv |
| func (c Coroutine[R, S]) Result() R | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Result |
| func (c Coroutine[R, S]) Send(v S) | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Send |
| func (c Coroutine[R, S]) Stop() | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Stop |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-constants |
| View Source | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L13 |
| false | https://pkg.go.dev/builtin#false |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-variables |
| View Source | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L121 |
| errors | https://pkg.go.dev/errors |
| New | https://pkg.go.dev/errors#New |
| errors | https://pkg.go.dev/errors |
| New | https://pkg.go.dev/errors#New |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-functions |
| Run | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L78 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Run |
| any | https://pkg.go.dev/builtin#any |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| Yield | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L102 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Yield |
| any | https://pkg.go.dev/builtin#any |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#pkg-types |
| Context | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L52 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| any | https://pkg.go.dev/builtin#any |
| LoadContext | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L110 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#LoadContext |
| any | https://pkg.go.dev/builtin#any |
| Context | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| Marshal | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L81 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Marshal |
| Context | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| Unmarshal | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L85 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Unmarshal |
| Context | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| Yield | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L66 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context.Yield |
| Context | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| Coroutine | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L13 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| any | https://pkg.go.dev/builtin#any |
| New | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L16 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#New |
| any | https://pkg.go.dev/builtin#any |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| NewWithReturn | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L24 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#NewWithReturn |
| any | https://pkg.go.dev/builtin#any |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| Context | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L48 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Context |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| Context | https://pkg.go.dev/github.com/dispatchrun/coroutine#Context |
| Done | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L45 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Done |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| bool | https://pkg.go.dev/builtin#bool |
| Next | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go#L53 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Next |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| bool | https://pkg.go.dev/builtin#bool |
| Recv | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L19 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Recv |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| Result | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L30 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Result |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| Send | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L25 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Send |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| Stop | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go#L41 |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine.Stop |
| Coroutine | https://pkg.go.dev/github.com/dispatchrun/coroutine#Coroutine |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#section-sourcefiles |
| View all Source files | https://github.com/dispatchrun/coroutine/tree/v0.9.3 |
| coroutine.go | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine.go |
| coroutine_volatile.go | https://github.com/dispatchrun/coroutine/blob/v0.9.3/coroutine_volatile.go |
| getg.go | https://github.com/dispatchrun/coroutine/blob/v0.9.3/getg.go |
| ¶ | https://pkg.go.dev/github.com/dispatchrun/coroutine#section-directories |
| compiler | https://pkg.go.dev/github.com/dispatchrun/coroutine@v0.9.3/compiler |
| cmd/coroc | https://pkg.go.dev/github.com/dispatchrun/coroutine@v0.9.3/compiler/cmd/coroc |
| proto/go/coroutine/v1 | https://pkg.go.dev/github.com/dispatchrun/coroutine@v0.9.3/gen/proto/go/coroutine/v1 |
| types | https://pkg.go.dev/github.com/dispatchrun/coroutine@v0.9.3/types |
|
Why Go
| https://go.dev/solutions |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Get Started
| https://learn.go.dev/ |
|
Playground
| https://play.golang.org |
|
Tour
| https://tour.golang.org |
|
Stack Overflow
| https://stackoverflow.com/questions/tagged/go?tab=Newest |
|
Help
| https://go.dev/help |
|
Packages
| https://pkg.go.dev |
|
Standard Library
| https://pkg.go.dev/std |
|
Sub-repositories
| https://pkg.go.dev/golang.org/x |
|
About Go Packages
| https://pkg.go.dev/about |
|
pkg.go.dev API
| https://pkg.go.dev/api |
|
About
| https://go.dev/project |
| Download | https://go.dev/dl/ |
| Blog | https://go.dev/blog |
|
Issue Tracker
| https://github.com/golang/go/issues |
|
Release Notes
| https://go.dev/doc/devel/release.html |
|
Brand Guidelines
| https://go.dev/brand |
|
Code of Conduct
| https://go.dev/conduct |
|
Connect
| https://www.twitter.com/golang |
|
Twitter
| https://www.twitter.com/golang |
| GitHub | https://github.com/golang |
|
Slack
| https://invite.slack.golangbridge.org/ |
|
r/golang
| https://reddit.com/r/golang |
|
Meetup
| https://www.meetup.com/pro/go |
|
Golang Weekly
| https://golangweekly.com/ |
| Copyright | https://go.dev/copyright |
| Terms of Service | https://go.dev/tos |
|
Privacy Policy
| http://www.google.com/intl/en/policies/privacy/ |
|
Report an Issue
| https://go.dev/s/pkgsite-feedback |
|
| https://google.com |
| Learn more. | https://policies.google.com/technologies/cookies |