off(event, callback, context)
Remove a registered event listener. For a list of events please see Events
import Mimic from 'mimic';
const handleCapturedRequest = () => console.log('a request has been captured'));
// first we must register the handler
Mimic.on('REQUEST_CAPTURED', handleCapturedRequest);
// Now we can remove the handler by passing a reference to same function
Mimic.off('REQUEST_CAPTURED', handleCapturedRequest);