code: def init(library: typing.Union[str, types.ModuleType]) -> None:
      '''
      Must be called at some point after import and before your event loop
      is run.
  
      Populates the asynclib instance of _AsyncLib with methods relevant to the
      async library you are using.
  
      The supported libraries at the moment are:
      - curio
      - trio
  
      Args:
          library (str or module): Either the module name as a string or the
                                   imported module itself. E.g. ``multio.init(curio)``.
      '''
      if isinstance(library, types.ModuleType):
          library = library.__name__
  
      if library not in manager._handlers:
          raise ValueError("Possible values are <{}>, not <{}>".format(manager._handlers.keys(),
                                                                       library))
  
      manager.init(library, asynclib)
      asynclib.lib_name = library
      asynclib._init = Truf init(library: typing.Union[str, types.ModuleType]) -> None:
      '''
      Must be called at some point after import and before your event loop
      is run.
  
      Populates the asynclib instance of _AsyncLib with methods relevant to the
      async library you are using.
  
      The supported libraries at the moment are:
      - curio
      - trio
  
      Args:
          library (str or module): Either the module name as a string or the
                                   imported module itself. E.g. ``multio.init(curio)``.
      '''
      if isinstance(library, types.ModuleType):
          library = library.__name__
  
      if library not in manager._handlers:
          raise ValueError("Possible values are <{}>, not <{}>".format(manager._handlers.keys(),
                                                                       library))
  
      manager.init(library, asynclib)
      asynclib.lib_name = library
      asynclib._init = True
docs: Must be called at some point after import and before your event loop
      is run.
  
      Populates the asynclib instance of _AsyncLib with methods relevant to the
      async library you are using.
  
      The supported libraries at the moment are:
      - curio
      - trio
  
      Args:
          library (str or module): Either the module name as a string or the
                                   imported module itself. E.g. ``multio.init(curio)``.