Prashant Sharma
04/14/2023, 8:54 AMDan Homola
04/14/2023, 10:44 AMimport { idRef } from "@gooddata/sdk-model";
const ids = ["foo", "bar"];
const insights = await Promise.all(
ids.map((id) => backend.workspace(WORKSPACE).insights().getInsight(idRef(id, "insight")))
);