7 Commits
Author SHA1 Message Date
Francis Tsui 0cceb4079f Use a shared executor for g3 timers.
PiperOrigin-RevId: 933431037
2026-06-16 19:30:00 -07:00
Francis Tsui 782464c674 Remove deprecated usage of MutexLock.
PiperOrigin-RevId: 829582162
2025-11-07 14:41:27 -08:00
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
hai007 ac0af7b048 Fix g3 platform timer implementation.
PiperOrigin-RevId: 542931629
2023-06-23 12:41:41 -07:00
Janusz Sobczak a70826dbf8 Add a timeout to Future
Future has a `Get(Duration)` method which allows us to wait synchronously until
a timeout.
Adding a timeout to the constructor allows the Future to time out
asynchronously.

PiperOrigin-RevId: 516982717
2023-03-15 18:18:54 -07:00
Janusz Sobczak f4d85f9b90 Migrate to AnyInvocable in platform code
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -08:00
Qin Wang f94aa7548b Migrate Timer from location/nearby to third_party/nearby
PiperOrigin-RevId: 501928835
2023-01-13 13:44:17 -08:00