INNER CODE UNIT · JavaScript
period
jamesisaac/react-native-background-task · js/index.android.js:22
period = 900, // 15 minutes
timeout = 30,
flex,
} = {}
) {
// Default flex to within 50% of the period
if (!flex) {
flex = Math.floor(period / 2)
}
RNBackgroundTask.schedule({
period,
timeout,
flex,
})
},
finish: function() {