Add data provider nsi item result wait
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using Hcs.Broker.Api;
|
||||
using Hcs.Broker.Api.Request;
|
||||
using Hcs.Service.Async.Nsi;
|
||||
|
||||
namespace Hcs.Broker.Mock.Api
|
||||
@ -21,5 +22,16 @@ namespace Hcs.Broker.Mock.Api
|
||||
|
||||
return Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="INsiApi"/>
|
||||
public async Task<RequestSingleResult<NsiItemType>> GetExportDataProviderNsiItemResultAsync(string messageGuid)
|
||||
{
|
||||
await Task.Delay(3000);
|
||||
|
||||
return new RequestSingleResult<NsiItemType>()
|
||||
{
|
||||
Ready = false
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user