4 ms·
You can usually promisify the functions that take a callback via util.promisify (although I've done it manually myself as well).
by status_quo69 6y ago
You can usually promisify the functions that take a callback via util.promisify (although I've done it manually myself as well).
- shp0ngle 6y agoactually not the gRPC functions, since they have options argument with `onEnd` key with callback. So you need to promisify those manually.