getStateFile $stateName $fileName

Download a state file and write to a local file in the effect sandbox. If the state file does not exist, the file at $fileName is removed.



Name of the remote state file to read.

You can find existing state files in the dashboard by navigating to your project and clicking the State tab.


Local file to write to, or remove if the remote state file does not exist.