scheduledTimerWithTimeInterval static method

NSTimer scheduledTimerWithTimeInterval(
  1. double ti, {
  2. required NSInvocation invocation,
  3. required bool repeats,
})

scheduledTimerWithTimeInterval:invocation:repeats:

Implementation

static NSTimer scheduledTimerWithTimeInterval(
  double ti, {
  required NSInvocation invocation,
  required bool repeats,
}) {
  final $ret = _objc_msgSend_r49ehc(
    _class_NSTimer,
    _sel_scheduledTimerWithTimeInterval_invocation_repeats_,
    ti,
    invocation.ref.pointer,
    repeats,
  );
  return NSTimer.fromPointer($ret, retain: true, release: true);
}