What's the best approach to implement polling in react-native?
<p>The app I am building will be polling the server periodically to determine if the admin disabled the device on the server. When this happens, we abort all requests in progress and immediately “shutdown” the app.</p>