-
-
Save MasterQ32/abb5e2d59be158e3a2ebf5bd458bfea2 to your computer and use it in GitHub Desktop.
generator layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return struct { | |
suspended: ?anyframe = null, | |
state: union(enum) { | |
pending : Out, | |
consumed : void, | |
complete : void, | |
} = .complete, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment