mirror of
https://github.com/Naios/continuable.git
synced 2026-01-01 03:12:12 +08:00
add invalidate
This commit is contained in:
parent
4e9d87fd90
commit
6d19cdae19
@ -102,6 +102,13 @@ public:
|
||||
// TODO Transmute the returned callback here.
|
||||
return Continuable<Callback<_ATy...>>(std::move(*this));
|
||||
}
|
||||
|
||||
/// Invalidates the Continuable
|
||||
Continuable& invalidate()
|
||||
{
|
||||
_released = true;
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
namespace detail
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user