diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2024-07-26 15:19:25 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2024-07-26 15:31:14 +0300 |
commit | 696e048df66bace916e830df8fc37349098d22cf (patch) | |
tree | f23871493d3a95d3a2b96ea58e7591118277fbd2 /contrib/libs/libfyaml | |
parent | 43c64f9b535d8e793a95647872127d2843ac0f01 (diff) | |
download | ydb-696e048df66bace916e830df8fc37349098d22cf.tar.gz |
TFuture add IsReady method
IsReady returns true if exception or value was set.
allows to check readiness without locking cheŃker-thread
NOTE: returns true even if value was extracted from promise
good replace for HasValue() || HasException()
b2d64093e25cef5a350dfebe784c449203a5b383
Diffstat (limited to 'contrib/libs/libfyaml')
0 files changed, 0 insertions, 0 deletions