// eslint-disable-next-line @typescript-eslint/no-explicit-any export const awaiter = async (promise: Promise): Promise<[T | null, any | null]> => { try { const data: T = await promise; return [data, null]; } catch (err) { return [null, err]; } };