package p.studio.execution;

import java.util.List;
import java.util.Objects;

public record StudioExecutionSnapshot(
        StudioExecutionState state,
        List<StudioExecutionLogEntry> logs) {

    public StudioExecutionSnapshot {
        Objects.requireNonNull(state, "state");
        logs = List.copyOf(Objects.requireNonNull(logs, "logs"));
    }
}
