Thanx!
On 2018/11/03 03:54:46, Reza Ardeshir Rokni wrote:
> Hi,
>
> I have a need to set an alarm in both the Element DoFn as well as the
> OnTimer code block. I need to ensure that I do not overwrite a already set
> timer, is there a way to check if a Timer has been set?
>
> One thought was
There is not a way to check if a timer has been set. It would be a
different & more expensive protocol if that API were available. Timers are
deliberately a "blind write" API. The best approach today is just what you
said - add a ValueState. But that negates the performance benefits
of the API desi
Hi,
I have a need to set an alarm in both the Element DoFn as well as the
OnTimer code block. I need to ensure that I do not overwrite a already set
timer, is there a way to check if a Timer has been set?
One thought was to use a ValueState which I can manually set /
unset as part of the operatio