There’s a common clock for the producer and the consumer. They use different edges of the clock to ensure data validity. Data can be sampled multiple times unless transfers are limited.