[−][src]Function tari_test_utils::runtime::test_async
pub fn test_async<F>(f: F) where
F: FnOnce(&Runtime),
Create a runtime and report if it panics. If there are tasks still running after the panic, this will carry on running forever. TODO: Create a test harness which allows test cleanup or at least fail the test after a timeout