setAlarm method

Future<void> setAlarm(
  1. DateTime scheduledTime, {
  2. bool? allowConcurrency,
  3. bool? allowUnconfirmed,
})

Implementation

Future<void> setAlarm(
  DateTime scheduledTime, {
  bool? allowConcurrency,
  bool? allowUnconfirmed,
}) async {
  return _delegate.setAlarm(
    scheduledTime,
    interop.DurableObjectSetAlarmOptions()
      ..allowConcurrency = allowConcurrency
      ..allowUnconfirmed = allowUnconfirmed,
  );
}