Function stremio_core::models::player::push_to_library

source ยท
fn push_to_library<E: Env + 'static>(
    push_library_item_time: &mut DateTime<Utc>,
    library_item: &mut LibraryItem,
) -> Effects
Expand description

We will push an Internal::UpdateLibraryItem message only if at least PUSH_TO_LIBRARY_EVERY time has passed since the last update.