Sask Vaccine Guide Code Docs
    Preparing search index...

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Gets a fact from the database using the current language.

      If no fact is retrieved a standard message is sent as well as a flag to tell the hook to rerun the function.

      Parameters

      • rerun: boolean

        if the function failed to give good results the first time

      Returns Promise<{ fact: string; rerun: boolean }>

      An object containing the fact and whether the function should run again. The second run is only needed on the first