()
| 4398 | notifications = [] |
| 4399 | |
| 4400 | def run_graceful(): |
| 4401 | def capture(message, **kwargs): |
| 4402 | if message: |
| 4403 | notifications.append(message) |
| 4404 | with l1.rpc.notify(capture): |
| 4405 | return l1.rpc.graceful() |
| 4406 | |
| 4407 | fut = executor.submit(run_graceful) |
| 4408 | result = fut.result(TIMEOUT) |