INNER CODE UNIT · JavaScript

flex

jamesisaac/react-native-background-task · js/index.android.js:29

      flex = Math.floor(period / 2)
    }

    RNBackgroundTask.schedule({
      period,
      timeout,
      flex,
    })
  },

  finish: function() {
    // Needed for iOS, no-op on Android
  },

  cancel: function() {
    RNBackgroundTask.cancel()
  },

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…