UNPKG
@eweser/db
Version:
latest (1.15.0)
1.15.0
1.14.1
1.14.0
1.13.6
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.3
1.11.2
1.11.1
1.11.0
1.10.0
1.9.0
1.8.2
1.8.1
1.8.0
1.7.0
1.6.2
1.6.1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
0.1.20
0.1.19
0.1.18
eweser-db core database
github.com/eweser/eweserdb
eweser/eweserdb
@eweser/db
/
types
/
utils
/
connection
/
checkServerConnection.d.ts
4 lines
(3 loc)
•
206 B
TypeScript
View Raw
1
2
3
4
import
type
{
Database
}
from
'../..'
;
/** pings the matrix server and sets the result to db.online. emits an event on change */
export
declare
const
checkServerConnection
:
(
db
:
Database
) =>
Promise
<
void
>;