lock method
Lock the current Dio instance.
Dio will enqueue the incoming request tasks instead
send them directly when interceptor.request
is locked.
Implementation
@override
void lock() {
interceptors.requestLock.lock();
}
Lock the current Dio instance.
Dio will enqueue the incoming request tasks instead
send them directly when interceptor.request
is locked.
@override
void lock() {
interceptors.requestLock.lock();
}