Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
406B

  1. using System;
  2. namespace Svelto.ServiceLayer.Experimental
  3. {
  4. public interface IServiceEventListener<in TDelegate> : IServiceEventListenerBase where TDelegate : Delegate
  5. {
  6. void SetCallback(TDelegate callback);
  7. }
  8. // This interface exists so we can use one type which can represent any of the interfaces above
  9. public interface IServiceEventListenerBase : IDisposable
  10. {
  11. }
  12. }