getRegions()
获取此版本 Remotion Cloud Run 支持的所有 GCP 区域的数组。
示例
tsx
constregions =getRegions ();// ["asia-east1", "us-east1"]
tsx
constregions =getRegions ();// ["asia-east1", "us-east1"]
note
从 @remotion/cloudrun/client
导入,以避免导入整个渲染器,因为无法捆绑整个渲染器。
返回值
此版本 Remotion Cloud Run 支持的区域数组。