Reference counting interface.
virtual ~IRef() noexcept=default
virtual void IncRef() noexcept
Increments reference counter.
virtual void DecRef() noexcept
Decrements reference counter.
Contract< V, E > MakeContract()
Creates related future and promise.