Creates a new MPSEvent object with the given type and data.
const MPSEvent( this.type, [ this.data, ]);