Ant-Man and the Wasp’s end-credit scene was a huge cliffhanger but there was more in the film that connected it to Avengers 4, film’s director Peyton Reed has revealed. In a recent episode of Empire Film Podcast, he suggested that a time vortex mentioned by Janet Van Dyke could hold the key to the future.

Ant-Man and the Wasp connected Avengers: Infinity War to Avengers 4, in which Paul Rudd’s Scott Lang is likely to play an important role in bringing the dead Avengers to life. “She (Janet) mentions tardigrade fields, she mentions time vortexes as these warnings to Scott about what not to get involved in.These things might prove valuable. They’re not just randomly spouted off in the moment. But, again, part of the fun of that was putting detail in there and throwing it out for the audience to guess which ones might be pertinent and which ones might not,” he said during the discussion.

This image released by Marvel Studios shows Evangeline Lilly, left, and Paul Rudd in a scene from Ant-Man and the Wasp. (AP)

The two Ant-Man films introduced the Quantum Realm, a limbo of sorts where Janet Van Dyne was trapped, to the Marvel Cinematic Universe. It is the Quantum Realm which is expected to play a huge part in Avengers 4.

At the end of Infinity War, Thanos ‘kills’ half the universe’s population with the snap of his fingers. The plot of Avengers 4 will reportedly involve the surviving heroes travelling back in time via Quantum Realm and rescuing those doomed to die.

Reed also gave a deeper insight into the post-credit scene of Ant-Man and the Wasp. “

“Oh, where are they now? What’s happening in this tag?. They’re doing some type of quantum experiment, there’s Luis’s van — throwing all these things at the audience immediately to catch them off guard. Janet’s in street clothes and he’s in the Ant-Man suit, Hope’s handing him something, what are they doing? Something about Ghost? And then, bam, just punching the audience in the gut with it. It felt like a very Ant-Man and the Wasp way to deal with this gigantic, dramatic happening at the end of Infinity War.”