* Fixing incorrect documentation for the continuation passing style IAssetService.Get() method
* Changing the SimianGrid asset service connector to match the corrected documentationslimupdates
parent
5fc9fe70af
commit
542abb9c43
|
@ -207,7 +207,7 @@ namespace OpenSim.Services.Connectors.SimianGrid
|
|||
AssetBase asset = m_cache.Get(id);
|
||||
if (asset != null)
|
||||
{
|
||||
Util.FireAndForget(delegate(object o) { handler(id, sender, asset); });
|
||||
handler(id, sender, asset);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,8 @@ namespace OpenSim.Services.Interfaces
|
|||
byte[] GetData(string id);
|
||||
|
||||
/// <summary>
|
||||
/// Get an asset asynchronously
|
||||
/// Get an asset synchronously or asynchronously (depending on whether
|
||||
/// it is locally cached) and fire a callback with the fetched asset
|
||||
/// </summary>
|
||||
/// <param name="id">The asset id</param>
|
||||
/// <param name="sender">Represents the requester. Passed back via the handler</param>
|
||||
|
|
Loading…
Reference in New Issue