Files
tantivy/src/core
Paul Masurel 46d5de920d Removes all usage of block_on, and use a oneshot channel instead. (#1315)
* Removes all usage of block_on, and use a oneshot channel instead.

Calling `block_on` panics in certain context.
For instance, it panics when it is called in a the context of another
call to block.

Using it in tantivy is unnecessary. We replace it by a thin wrapper
around a oneshot channel that supports both async/sync.

* Removing needless uses of async in the API.

Co-authored-by: PSeitz <PSeitz@users.noreply.github.com>
2022-03-18 16:54:58 +09:00
..
2022-01-28 15:55:55 +09:00
2022-01-28 15:55:55 +09:00
2022-02-25 17:32:49 +09:00
2022-01-28 15:55:55 +09:00
2022-02-01 10:24:05 +09:00