When an airbag deploys, how long does it take to inflate, protect the driver, and deflate?

When an airbag deploys, how long does it take to inflate, protect the driver, and deflate?