Castle.Core(4.4.0)
Castle.Core.AsyncInterceptor (1.7.0)
public class ScheduleEventInterceptor : IMethodInterceptor
{
public async void BeforeInvoke(InvocationContext invocationContext)
{
//Expect this call complete before decorated method
await [some_async_call].ConfigureAwait(false);
}
}
Expected: some_async_call execute before decorated method
Actual: some_async_call execute after decorated method.
Castle.Core(4.4.0)
Castle.Core.AsyncInterceptor (1.7.0)
public class ScheduleEventInterceptor : IMethodInterceptor
{
public async void BeforeInvoke(InvocationContext invocationContext)
{
//Expect this call complete before decorated method
await [some_async_call].ConfigureAwait(false);
}
}
Expected: some_async_call execute before decorated method
Actual: some_async_call execute after decorated method.