O
Size: a a a
O
O
SD
АА
A
A
A
A
A
АА
A
A
АА
G
СА
G
AO
СА
Context.current()
G
Context.CancellableContext withDeadline = Context.current()то есть тоже надо везде проверять на этот флаг?
.withDeadline(someReceivedDeadline, scheduler);
try {
withDeadline.run(new Runnable() {
public void run() {
Context current = Context.current();
while (!current.isCancelled() && moreWorkToDo()) {
keepWorking();
}
}
});
} finally {
withDeadline.cancel(null);
}
IV