Cosmos Journeyer API Documentation - v1.10.4
    Preparing search index...

    Interface defining the storage backend for save data.

    interface IFile {
        read(): Promise<null | string>;
        write(content: string): Promise<boolean>;
    }

    Implemented by

    Index

    Methods

    Methods

    • Writes save data to the storage backend.

      Parameters

      • content: string

      Returns Promise<boolean>

      Boolean indicating success or failure of the write operation