code: def stream(self, code):
          
          self._say("Streaming code.")
          if type(code) in [str, text_type]:
              code = code.split("\n")
          self._parse("stream()", code)
docs: Stream in RiveScript source code dynamically.
  
          :param code: Either a string containing RiveScript code or an array of
              lines of RiveScript code.