What is the correct Effect method for

What is the correct Effect method for checking for a Config value from env and then piping to a tryPromise? Is it Sync?

example of bad psuedo code:

Effect.some_method(Config.string('Secret')).pipe(
   Effect.tryPromise(() => fetch(secret/route)
)
Was this page helpful?