Sensitivity list in task

In reply to dave_59:

In reply to EleneSajaia:
An event control must have a singular typed value (not an unpacked array). But you can get around this by using @(*).

forever @ (*)
begin 
dpi_function(item_1_input); 
end

I tested it in the way you mentioned above, but it doesn’t seem to meet expectations, so what’s the reason?