I'm working on a project that has an API and one of the function's signature is as follows:
public System.Threading.Tasks.Task<farmersmarket.service.Results> zipSearchAsync(string zip, string callback)
{
return base.Channel.zipSearchAsync(zip, callback);
}
The string callback
parameter is confusing to me. Is this a .net delegate? Is it the same as a javascript callback?
Update: I'm working with this api: http://search.ams.usda.gov/farmersmarkets/v1/svcdesc.html. There's an object called "MarketServiceClient" and that's about it for documentation.