mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Clean the playground since the test was moved into the unit tests
This commit is contained in:
parent
a2fdfdfceb
commit
dce0fbcffe
@ -25,22 +25,4 @@
|
||||
using namespace cti;
|
||||
|
||||
int main(int, char**) {
|
||||
// ...
|
||||
auto e = std::make_exception_ptr(std::exception("huhu"));
|
||||
|
||||
async_on(
|
||||
[] {
|
||||
//
|
||||
int i = 0;
|
||||
},
|
||||
[&](work work) {
|
||||
int i = 0;
|
||||
(void)i;
|
||||
work.set_exception(e); //
|
||||
})
|
||||
.fail([](exception_t e) {
|
||||
//
|
||||
int i = 0;
|
||||
(void)i;
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user