destroyPod abstract method

Future<void> destroyPod(
  1. String podName,
  2. Object podInstance
)
inherited

Destroys a pod instance by name and instance.

This method handles the complete destruction lifecycle including removal from registries and invocation of destruction callbacks.

Usage Example:

final pod = await factory.getPod<MyPod>('myPod');
await factory.destroyPod('myPod', pod);

@param podName The name of the pod to destroy @param podInstance The pod instance to destroy @return A Future that completes when destruction is done

Implementation

Future<void> destroyPod(String podName, Object podInstance);