Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BatchRecommendationsJob

Hierarchy

  • BatchRecommendationsJob

Index

Properties

completedAt: undefined | Date
inputsFile: string
jobId: string
numUsers: number
resultsFile: undefined | string
status: "creating" | "running" | "completed"
submittedAt: Date

Methods

  • Poll until the job completes.

    It is strongly recommended to instead use the webhook callback parameter when creating the job.

    throws

    FlikeError when information about the job is not available.

    Parameters

    • interval: number = 60

      Interval in seconds between polling the server for status changes (default: 60).

    Returns Promise<BatchRecommendationsJob>

  • Update the job's execution status.

    Updates the job in-place.

    throws

    FlikeError when information about the job is not available.

    Returns Promise<BatchRecommendationsJob>

    A reference to the job itself

Generated using TypeDoc