Skip to content

Time is not right,the flow is not really finish. #4

@twolight

Description

@twolight

Future initTask = threadPool.submit(flowTask);

try {
initTask.get(mTimeout, TimeUnit.MILLISECONDS);
} catch (Exception e) {
LogImpl.w(TAG, "timeout for flow: " + getName());
}
long endTime = System.currentTimeMillis();
LogImpl.i(TAG, getName() + " runs " + (endTime - startTime));

Flow is not really finish.Some task may be still running.
And i think flow or Init need a callback,for example in Android loading Activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions