Trait pallet_session::ShouldEndSession
source · pub trait ShouldEndSession<BlockNumber> {
fn should_end_session(now: BlockNumber) -> bool;
}
Expand description
Decides whether the session should be ended.
Required Methods§
sourcefn should_end_session(now: BlockNumber) -> bool
fn should_end_session(now: BlockNumber) -> bool
Return true
if the session should be ended.