function PromisifyDbRequest( request )
	{
		return new Promise( ( resolve, reject ) =>
		{
			// @ts-ignore
			request.oncomplete = request.onsuccess = () => resolve( request.result );
			// @ts-ignore
			request.onabort = request.onerror = () => reject( request.error );
		} );
	}
Promisifies an IndexedDB request
@param {IDBRequest<T>|IDBTransaction} request - The IndexedDB request to promisify
@returns {Promise<T>} A promise that resolves with the request result
@template T