Skip to content

createSimpleBatch

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/screenshot-worker/test/helpers/batch-builder.ts

Helper function to create a simple batch request

Signature

ts
function createSimpleBatch(urls: string[], options: {
    projectId?: string;
    organizationId?: string;
    config?: Partial<BatchConfigDto>;
  }): TakeBatchScreenshotsDto

Parameters

NameType
urlsstring[]
options`{
projectId?: string;
organizationId?: string;
config?: Partial<BatchConfigDto>;

}` |

Returns: TakeBatchScreenshotsDto

Was this page helpful?

Download as PDF