If I call `refresh()` on a stack that doesn't exis...
# automation-api
h
If I call
refresh()
on a stack that doesn't exist, what happens? Is that an error or no-op? (Using TypeScript if it matters)
l
You will get an error if you try to
select
a stack that does not exist. If you refresh a stack that has been created, but contains no resources it will be a no-op effectively.
👍 1
h
Cool, fortunately the examples call
createOrSelectStack
(which I used as a starting point) so I think I'm good.
👍 1