Converting `Effect.Effect<T, E>` to `Effect.Effect<void, E>`

Is there a "better" way to go from Effect.Effect<T, E> to Effect.Effect<void, E> than this, or is this fine:
Effect.gen(function* () {
    yield* get();
});
Was this page helpful?