[{"name":"Matrix","comment":"\n\n\n# Matrix SDK\n\nThis first version forms a mere basis from which we will create iterative builds\nthat slowly improve the codebase.\n\nIt is generally quite unusual to regularly publish iterative beta versions on\nthe public registry, but it is also generally quite unusual to exclusively\nsupport a monolithic public registry. (:\n\n\n## Vault\n\n@docs Vault\n\n","unions":[],"aliases":[{"name":"Vault","comment":" The Vault type stores all relevant information about the Matrix API.\n\nIt currently supports no functionality and it will just stay here - for fun.\n\n","args":[],"type":"Types.Vault"}],"values":[],"binops":[]},{"name":"Matrix.Settings","comment":" The Matrix Vault has lots of configurable variables that you rarely want to\ninteract with. Usually, you configure these variables only when creating a new\nVault, or when a user explicitly changes one of their preferred settings.\n\n\n## Device name\n\nThe default device name that is being communicated with the Matrix API.\n\nThis is mostly useful for users who are logged in with multiple sessions. They\nwill see device names like \"Element for Android\" or \"Element on iOS\". For the\nElm SDK, they will by default see the Elm SDK with its version included. If you\nare writing a custom client, however, you are free to change this to something\nmore meaningful to the user.\n\n@docs getDeviceName, setDeviceName\n\n\n## Sync time\n\nWhenever the Matrix API has nothing new to report, the Elm SDK is kept on\nhold until something new happens. The `syncTime` indicates a timeout to how long\nthe Elm SDK tolerates being held on hold.\n\n  - ↗️ A high value is good because it significantly reduces traffic between the\n    user and the homeserver.\n  - ↘️ A low value is good because it reduces the risk of\n    the connection ending abruptly or unexpectedly.\n\nNowadays, most libraries use 30 seconds as the standard, as does the Elm SDK.\nThe value is in miliseconds, so it is set at 30,000.\n\n@docs getSyncTime, setSyncTime\n\n","unions":[],"aliases":[],"values":[{"name":"getDeviceName","comment":" Determine the device name.\n","type":"Types.Vault -> String.String"},{"name":"getSyncTime","comment":" Determine the sync timeout value.\n","type":"Types.Vault -> Basics.Int"},{"name":"setDeviceName","comment":" Override the device name.\n","type":"String.String -> Types.Vault -> Types.Vault"},{"name":"setSyncTime","comment":" Override the sync timeout value.\n","type":"Basics.Int -> Types.Vault -> Types.Vault"}],"binops":[]}]