gophergfx
    Preparing search index...

    Class TextFileLoader

    Index
    • Loads a text file located at the specified filename asynchronously

      Parameters

      • filename: string

        The path to the text file to be loaded

      • callback: ((loadedFile: TextFile) => void) | null = null

        An optional callback function to be invoked when the file is loaded

      Returns TextFile

      The TextFile object that will contain the loaded file's data. Note, it will only contain the data AFTER the asynchronous loading is complete.