Compositionality and real-time