docs: def simple_state_machine():
      """Pick a number, if it is more than some cuttoff continue the chain."""
      from random import random
  
      from furious.async import Async
  
      number = random()
      logging.info('Generating a number... %s', number)
  
      if number > 0.25:
          logging.info('Continuing to do stuff.')
          return Async(target=simple_state_machine)
  
      return number