Wait for Subscription on Event Click

hello,

How can i wait for a subscription on a click event ?
In my example i would like to be sure subscription is ready before return data.

Thanks for your help.

Template.ConcurrentsInfosList.helpers({
  
  // Select product
  productSelectFormSchema: function() {

return Schema.productSelect;
},

  // Concurrent Products
  concurrentsProducts: function() {

// List
if (Session.get(“productSelect”))
Meteor.subscribe(“concurrents_product_list”, Session.get(“productSelect”));

// Get Analysis
return Concurrents.find({}, {sort: {name: 1}} );

  }
});

Take a look at the subscription readiness section of the Meteor Guide.

Thanks very much it works and the guide help me.