We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bad: Effect.gen(function* () { Effect.succeed(1) }) Effect.gen(function* () { return Effect.succeed(1) }) Effect.gen(function* () { const a = Effect.succeed(1); return a }) Effect.gen(function* () { const a = Effect.succeed(1) }) // wishful thinking, would require deep knowledge
Effect.gen(function* () { Effect.succeed(1) })
Effect.gen(function* () { return Effect.succeed(1) })
Effect.gen(function* () { const a = Effect.succeed(1); return a })
Effect.gen(function* () { const a = Effect.succeed(1) })
Good: Effect.gen(function* () { yield* Effect.succeed(1) }) Effect.gen(function* () { return yield* Effect.succeed(1) }) Effect.gen(function* () { const a = Effect.succeed(1); return yield* a })
Effect.gen(function* () { yield* Effect.succeed(1) })
Effect.gen(function* () { return yield* Effect.succeed(1) })
Effect.gen(function* () { const a = Effect.succeed(1); return yield* a })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bad:
Effect.gen(function* () { Effect.succeed(1) })
Effect.gen(function* () { return Effect.succeed(1) })
Effect.gen(function* () { const a = Effect.succeed(1); return a })
Effect.gen(function* () { const a = Effect.succeed(1) })
// wishful thinking, would require deep knowledgeGood:
Effect.gen(function* () { yield* Effect.succeed(1) })
Effect.gen(function* () { return yield* Effect.succeed(1) })
Effect.gen(function* () { const a = Effect.succeed(1); return yield* a })
The text was updated successfully, but these errors were encountered: