2.0+
Bond - Timed Events
Real time events
Every activity can be triggered based on specified timed intervals. This is done by adding the attribute bits to bond live trigger element. This attribute takes a value in seconds that determines the rate of request sent per second

  bond('Posts')
                              
  <?php
  
  namespace spoova/mi/windows/Bond;

  use spoova/mi/core/classes/Bond;

  class Posts extends Bond{

    public $count = 0;

    public function render(): Compiler|String {

      return compile('bond-template');

    }

    public function increase() {

      $this->count++;

    }

  }  
                              
  <div>

    <button bond:click="increase" bits="1500"> {{ $counter }} <button>
  
  </div>
                              
Once the button above is clicked, the event will start sending request at the interval of 1.5seconds.