mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
* Fixing incorrect documentation for the continuation passing style IAssetService.Get() method
* Changing the SimianGrid asset service connector to match the corrected documentation
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user