Skip to content

Instantly share code, notes, and snippets.

View LucasSaud's full-sized avatar
💭
Trabalhando

Lucas Saud LucasSaud

💭
Trabalhando
View GitHub Profile
@LucasSaud
LucasSaud / WhatsappManager.ts
Created December 16, 2024 11:38 — forked from igortrinidad/WhatsappManager.ts
Manager wpp instances with workers
import { Worker } from 'worker_threads'
import path from 'path'
import Instance from '#models/Instance'
import app from '@adonisjs/core/services/app'
export class WhatsappManager {
isBooted = false
workers = new Map()
constructor() {
@LucasSaud
LucasSaud / Currencies.json
Created December 16, 2024 11:37 — forked from igortrinidad/Currencies.json
Global currencies json array
[
{
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@LucasSaud
LucasSaud / Currencies.json
Created December 16, 2024 11:37 — forked from igortrinidad/Currencies.json
Global currencies json array
[
{
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},