Skip to main content

First, I think this has great potential. Really looking forward to what the actual release implementation looks like.

 

But I am curious why the finalizer (as an interface) has to be attached via System.attachFinalizer with an implementation of a separate class. I guess I was expecting that, as an interface, I could simply implement the methods from the interface directly onto my queueable class: "public SomeQueuableClass implements Database.AllowsCallouts, Queueable, Finalizer"

 

Any insight you could share would be great!

 

Thank you and keep up the great work releasing Apex improvements!

댓글 1개
  1. 2020년 6월 18일 오후 10:56
    We changed this - finalizer can now be implemented on Queueable jobs in Summer. It made retry semantics overly complicated and there wasn't a good enough justification to keep the constraint.
0/9000