import * as requests from "./request" ; import * as responses from "./response" ; import { WorkRequestWaiter } from "./workrequest-waiter" ; import { WorkRequestClient } from "./client" ; import { WaiterConfiguration } from "oci-common" ; export async function waitForWorkRequest ( config , client , workRequestId ) { const workRequestWaiter = new WorkRequestWaiter ( client , config ) ; const getWorkRequestRequest = { workRequestId : workRequestId } ; return workRequestWaiter . forWorkRequest ( getWorkRequestRequest ) ; }