Go Time: Golang, Software Engineering cover image

How to make mistakes in Go

Go Time: Golang, Software Engineering

00:00

Using Time.After in a Concurrent Application?

Time.after is a handy channel that accepts as an input, a time.duration,. And it returns a channel of time.time, right? It waits for the duration to elapse and then sends the current time on the return channel. Most of the time it's also used in concurrent application, let's say, because of the handy channel. Otherwise, if we just want to wait some time in the current routine, we can just use time.zip, right?

Play episode from 38:30
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app