Skip to main content
  • Snap

snap_scheduleBackgroundEvent

Parameters

request

{ method: string; params?: Json[] & ExactOptionalGuard & Json[] | Json[] & ExactOptionalGuard & Record<string, Json> | Record<string, Json> & { _exactOptionalGuard?: typeof exactOptionalSymbol | undefined } | Record<string, Json> & ExactOptionalGuard & Json[] | null }

The request to be called when the event fires.

Returns

string

The result returned by the snap_scheduleBackgroundEvent method, which is the ID of the scheduled event.