title: Flutter bloc adding 2 event in same time
body: <p>I wanna check users internet connection and firebase auth state changes in my app. I am using flutter bloc for my app's state management. But when call different 2 .add(event) in one initstate always the first one is run and changes states but second one didnt run didnt change state. What is the my wrong ?</p>
  <p>my bloc:</p>
  <pre><code>class ControllerBloc extends Bloc&lt;ControllerEvent, ControllerState&gt; {
    ControllerBloc() : super(ControllerInitial());
    AuthApiClient _authApiClient = getIt&lt;AuthApiClient&gt;();
  
    @override
    Stream&lt;ControllerState&gt; mapEventToState(
      ControllerEvent event,
    ) async* {
      if (event is ControllInternetConnection) {
        yield* internetControll();
      }
      if (event is ControllUserAuth) {
        debugPrint(&quot;wwwwgeldi&quot;);
        yield* userAuthControl();
      }
      // TODO: implement mapEventToState
    }
  
    Stream&lt;ControllerState&gt; internetControll() async* {
      Stream&lt;DataConnectionStatus&gt; connectionState =
          DataConnectionChecker().onStatusChange;
      await for (DataConnectionStatus status in connectionState) {
        switch (status) {
          case DataConnectionStatus.connected:
            debugPrint(&quot;Bağlandı&quot;);
            yield InternetConnectedState();
            break;
          case DataConnectionStatus.disconnected:
            debugPrint(&quot;Kesildi&quot;);
            yield InternetConnectionLostState();
            break;
        }
      }
    }
  
    Stream&lt;ControllerState&gt; userAuthControl() async* {
      FirebaseAuth firebaseAuth = _authApiClient.authInstanceAl();
      debugPrint(&quot;geldi&quot;);
      Stream&lt;User&gt; authStream = firebaseAuth.authStateChanges();
  
      _authApiClient.authInstanceAl().signOut();
  
      await for (User authUserResult in authStream) {
        if (authUserResult == null) {
          yield UserAuthControlError();
        }
      }
    }
  }
  </code></pre>
  <p>my page where call my events</p>
  <pre><code>class _NavigationPageState extends State&lt;NavigationPage&gt; {
    ControllerBloc controllerBloc;
  
     
  
    @override
    void initState() {
      controllerBloc= BlocProvider.of&lt;ControllerBloc&gt;(context);
      controllerBloc.add(ControllInternetConnection());
      controllerBloc.add(ControllUserAuth());
      super.initState();
    }
  </code></pre>