Trait pallet_session::ShouldEndSession 
source · pub trait ShouldEndSession<BlockNumber> {
    // Required method
    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.