Promisification by akseyh · Pull Request #272 · javascript-tutorial/tr.javascript.info

@akseyh

@akseyh

sahinyanlik

Ama ya orijinal `f` daha fazla argümanlı bir callback bekliyorsa `callback(err, res1, res2)`?

Here's a modification of `promisify` that returns an array of multiple callback results:
İşte bir dizi çoklu callback sonucu döndüren bir `promisify` modifikasyonu:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modifikasyonu yerine değişikliği olabilir. İngilizce'den böyle dilimize yerleşmiş çok kelime bulunuyor. Biliyorum ayrıştırmak zor fakat tekrar okuyunca çıkıyor ortaya.

sahinyanlik

```

In some cases, `err` may be absent at all: `callback(result)`, or there's something exotic in the callback format, then we can promisify such functions without using the helper, manually.
Bazı durumlarda `err` olmayabilir: `callback(result)` veya callback biçiminde egzotik bir şey varsa, bu tür fonksiyonları helper kullanmadan manuel olarak promisify edebiliriz.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exotic'i bire bir çevirmenize gerek yok. Yukarıda "Now" da vardı. Böyle kullanımlarda kendinize göre farklı kelimeler de kullanabilirsiniz.

sahinyanlik

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yorumlara göre tekrar güncelleyebilir misiniz?

@akseyh

Yorumlara göre tekrar güncelleyebilir misiniz?

Tabi güncelliyorum

@akseyh

@javascript-translate-bot

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

@sahinyanlik