add-check-internet

Community

Guard Cubit calls with internet checks

Authormarcglasberg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures internet connectivity before executing a Cubit method, preventing failed operations and unnecessary UI churn by integrating a guard into mix() calls with optional retry.

Core Features & Use Cases

  • Adds a checkInternet parameter to mix() to verify connectivity prior to running a method.
  • Supports abortSilently, ifOpenDialog, and retry configurations to control behavior during offline scenarios.
  • Use Case: protect startup data loads, network requests, or background sync from offline conditions.

Quick Start

Add checkInternet to the mix() call in your Cubit to guard against offline scenarios.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-check-internet
Download link: https://github.com/marcglasberg/bloc_superpowers/archive/main.zip#add-check-internet

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.